Category:Templates/zh: Difference between revisions

From DDraceNetwork
EdEnd (talk | contribs)
Created page with "* 表情: <code><nowiki>{{Emote|hearts}}</nowiki></code>: {{Emote|hearts}} Template:Emote"
EdEnd (talk | contribs)
No edit summary
Line 55: Line 55:
! Basic usage !! Result !! Template link for more info
! Basic usage !! Result !! Template link for more info
|-
|-
| <code><span lang="en" dir="ltr" class="mw-content-ltr"><nowiki>{{Hammer|hammer}}</nowiki></span></code>
| <code><nowiki>{{Hammer|锤子}}</nowiki></code>
| {{Hammer|<span lang="en" dir="ltr" class="mw-content-ltr">hammer</span>}}
| {{Hammer|<span lang="en" dir="ltr" class="mw-content-ltr">hammer</span>}}
| [[Special:MyLanguage/Template:Hammer]]
| [[Special:MyLanguage/Template:Hammer]]

Revision as of 19:26, 27 May 2023

模板(英语: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


未完成或过时内容

此条目仍需进行内容补充,您可以帮助我们编辑和修订以扩充其内容。

DDNet相关图片

  • 物理图层:{{Tile|game|2}}: Template:Tile以了解用法。
  • Link + Image for weapons (text is customizable):
Basic usage Result Template link for more info
{{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:
code
autoexec.cfg
code

Key presses

Pages in category "Templates/zh"

The following 7 pages are in this category, out of 7 total.