Category:Templates/zh: Difference between revisions

From DDraceNetwork
By (talk | contribs)
No edit summary
By (talk | contribs)
No edit summary
Line 16: Line 16:
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}}
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}}
<translate></nowiki></pre>
<translate></nowiki></pre>
用于分享有用提示的“提示”标记框。 [[Special:MyLanguage/Template:Tip|Template:Tip]]
“提示”标记框——用于分享有用提示。 [[Special:MyLanguage/Template:Tip|Template:Tip]]
}}
}}
{{Todo{{#translation:}}|用法: <pre><nowiki>
{{Todo{{#translation:}}|用法: <pre><nowiki>

Revision as of 05:55, 19 February 2023

模板(英語:Templates)有助於使頁面佈局更清澈、更易讀。

標記框

為便於翻譯,請僅標記標記框中的文本以進行翻譯。

通告: 用法:
</translate>
{{Note{{#translation:}}|<translate>This text should be noted.</translate>}}
<translate>

「通告」標記框——用於強調重要信息。 Template:Note

提示: 用法:
</translate>
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}}
<translate>

「提示」標記框——用於分享有用提示。 Template:Tip

待辦: 用法:
</translate>
{{Todo{{#translation:}}|<translate>The described action to modify the wiki should be done later on.</translate>}}
<translate>

「待辦事項」標記框——用於提醒有缺乏信息需要添加。 Template:Todo

警告: 用法:
</translate>
{{Warning{{#translation:}}|<translate>This text should be heeded.</translate>}}
<translate>

「警告」標記框——用於警示。 Template:Warning


未完成或過時內容

此條目仍需進行內容補充,您可以幫助我們編輯和修訂以擴充其內容。

DDNet相關圖片

  • Images from physics layers: {{Tile|game|2}}: See Template:Tile for usage
  • 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:
code
autoexec.cfg
code

Key presses

Pages in category "Templates/zh"

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