Category:Templates/zh: Difference between revisions
Created page with "模板(英语:Templates)有助于使页面布局更清澈、更易读。" |
Created page with "为便于翻译,请仅标记标记框中的文本以进行翻译。" Tags: mobile web edit mobile edit |
||
Line 2: | Line 2: | ||
模板(英语:Templates)有助于使页面布局更清澈、更易读。 | 模板(英语:Templates)有助于使页面布局更清澈、更易读。 | ||
< | <span id="Eye-catching_boxes"></span> | ||
== | == 标记框 == | ||
为便于翻译,请仅标记标记框中的文本以进行翻译。 | |||
{{Note{{#translation:}}|用法:<pre><nowiki> | |||
{{Note{{#translation:}}| | |||
</translate> | </translate> | ||
{{Note{{#translation:}}|<translate>This text should be noted.</translate>}} | {{Note{{#translation:}}|<translate>This text should be noted.</translate>}} |
Revision as of 05:38, 19 February 2023
模板(英语:Templates)有助于使页面布局更清澈、更易读。
标记框
为便于翻译,请仅标记标记框中的文本以进行翻译。
通告: {{{1}}}
提示: {{{1}}}
待办: {{{1}}}
警告: {{{1}}}
Incomplete/Outdated content
{{Stub{{#translation:}}}}
Template:Stub
- Images from physics layers:
{{Tile|game|2}}
: See Template:Tile for usage
- Layers from game.png:
{{Game.png|Ninja dash 2}}
: See Template:Game.png for usage
- Images from emoticons.png:
{{Emote|hearts}}
: Template:Emote
- Link + Image for weapons (text is customizable):
Basic usage | Result | Template link for more info |
---|---|---|
{{Hammer|hammer}}
|
Hammer | Special:MyLanguage/Template:Hammer |
{{Pistol|pistol}}
|
Pistol | Special:MyLanguage/Template:Pistol |
{{Shotgun|shotgun}}
|
Shotgun | Special:MyLanguage/Template:Shotgun |
{{Grenade|grenade}}
|
Grenade | Special:MyLanguage/Template:Grenade |
{{Laser|laser}}
|
Laser | Special:MyLanguage/Template:Laser |
{{Ninja|ninja}}
|
Ninja | Special:MyLanguage/Template:Ninja |
- Links with image of tile layer attached:
{{TileLink|{{Tile|game|11}}|Template:TileLink}}
: Template:TileLink
Infoboxes
Code boxes
Apart from the normal
<code>inline code formatting</code>
and<pre> multiline code boxes. </pre>We have some other nice code boxes:
- inline code:
{{ic|code}}
:code
- block code:
{{bc|code}}
:
code
- block code with header:
{{hc|autoexec.cfg|code}}
:
autoexec.cfg
code
Key presses
{{key press|A|space}}
→ A+space For usage see https://www.mediawiki.org/wiki/Template:Key_press
Pages in category "Templates/zh"
The following 7 pages are in this category, out of 7 total.