Category:Templates/zh: Difference between revisions
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
{{Todo|<translate>The described action to modify the wiki should be done later on.</translate>}} | {{Todo|<translate>The described action to modify the wiki should be done later on.</translate>}} | ||
<translate></nowiki></pre> | <translate></nowiki></pre> | ||
“待办事项”标记框——用于强调信息缺失,有待完善。 [[Special:MyLanguage/Template:Todo|Template:Todo]] | |||
}} | }} | ||
{{Warning|用法: <pre><nowiki> | {{Warning|用法: <pre><nowiki> | ||
Line 35: | Line 35: | ||
<span id="Incomplete_or_Outdated_content"></span> | <span id="Incomplete_or_Outdated_content"></span> | ||
==未完成或过时内容== | |||
= | |||
Revision as of 03:17, 28 November 2024
模板(英语:Templates)有助于使页面布局更清晰易读。
标记框
为便于翻译,请仅标记标记框中的文本以进行翻译。
通告: 用法:
</translate> {{Note|<translate>This text should be noted.</translate>}} <translate>
“通告”标记框——用于强调重要信息。 Template:Note
提示: 用法:
</translate> {{Tip|<translate>This text should be considered.</translate>}} <translate>
“提示”标记框——用于分享有用提示。 Template:Tip
待办: 用法:
</translate> {{Todo|<translate>The described action to modify the wiki should be done later on.</translate>}} <translate>
“待办事项”标记框——用于强调信息缺失,有待完善。 Template:Todo
警告: 用法:
</translate> {{Warning|<translate>This text should be heeded.</translate>}} <translate>
“警告”标记框——用于警示。 Template:Warning
未完成或过时内容
{{Stub}}
Template:Stub
DDNet相关图片
- 物理图层:
{{Tile|game|2}}
: 见Template:Tile以了解用法。
- 游戏:code>{{Game.png|Ninja dash 2}}: 见Template:Game.png以了解用法。
- 表情:
{{Emote|hearts}}
: Template:Emote
- 武器的链接+图片(文字可以自定义):
Basic usage | Result | Template link for more info |
---|---|---|
{{Hammer|锤子}}
|
锤子 | Special:MyLanguage/Template:Hammer |
{{Pistol|手枪}}
|
手枪 | Special:MyLanguage/Template:Pistol |
{{Shotgun|霰弹枪}}
|
霰弹枪 | Special:MyLanguage/Template:Shotgun |
{{Grenade|榴弹枪}}
|
榴弹枪 | Special:MyLanguage/Template:Grenade |
{{Laser|激光}}
|
激光 | Special:MyLanguage/Template:Laser |
{{Ninja|武士刀}}
|
武士刀 | Special:MyLanguage/Template:Ninja |
- 地图方格:
{{TileLink|{{Tile|game|11}}|Template:TileLink}}
: Template:TileLink
信息框
代码框
除了普通的<code>行内代码框格式</code>
和
<pre> 多行 代码 框 </pre>
我们也有许多其他选择:
按键表示
{{key press|A|space}}
→ A+space详细用法见 https://www.mediawiki.org/wiki/Template:Key_press
Tooltip
This template adds a description tooltip on a given text : a text example.
Warning, don't add double quotes (") inside the tooltip.
Usage :
{{Tooltip|Visible text|Description text}}
Pages in category "Templates/zh"
The following 7 pages are in this category, out of 7 total.