Category:Templates/zh: Difference between revisions

From DDraceNetwork
By (talk | contribs)
Created page with "为便于翻译,请仅标记标记框中的文本以进行翻译。"
Tags: mobile web edit mobile edit
By (talk | contribs)
Created page with "用于强调重要信息的“注释”标记框。"
Tags: mobile web edit mobile edit
Line 10: Line 10:
{{Note{{#translation:}}|<translate>This text should be noted.</translate>}}
{{Note{{#translation:}}|<translate>This text should be noted.</translate>}}
<translate></nowiki></pre>
<translate></nowiki></pre>
<span lang="en" dir="ltr" class="mw-content-ltr">A "Note" box used to emphasize important information.</span> [[Special:MyLanguage/Template:Note|Template:Note]]
用于强调重要信息的“注释”标记框。 [[Special:MyLanguage/Template:Note|Template:Note]]
}}
}}
{{Tip{{#translation:}}|<span lang="en" dir="ltr" class="mw-content-ltr">Usage:</span> <pre><nowiki>
{{Tip{{#translation:}}|用法: <pre><nowiki>
</translate>
</translate>
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}}
{{Tip{{#translation:}}|<translate>This text should be considered.</translate>}}
Line 18: Line 18:
<span lang="en" dir="ltr" class="mw-content-ltr">A "Tip" box used to share helpful hints.</span> [[Special:MyLanguage/Template:Tip|Template:Tip]]
<span lang="en" dir="ltr" class="mw-content-ltr">A "Tip" box used to share helpful hints.</span> [[Special:MyLanguage/Template:Tip|Template:Tip]]
}}
}}
{{Todo{{#translation:}}|<span lang="en" dir="ltr" class="mw-content-ltr">Usage:</span> <pre><nowiki>
{{Todo{{#translation:}}|用法: <pre><nowiki>
</translate>
</translate>
{{Todo{{#translation:}}|<translate>The described action to modify the wiki should be done later on.</translate>}}
{{Todo{{#translation:}}|<translate>The described action to modify the wiki should be done later on.</translate>}}

Revision as of 05:39, 19 February 2023

模板(英语:Templates)有助于使页面布局更清澈、更易读。

标记框

为便于翻译,请仅标记标记框中的文本以进行翻译。

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

用于强调重要信息的“注释”标记框。 Template:Note

提示: {{{1}}}
待办: {{{1}}}
警告: {{{1}}}


Incomplete/Outdated content

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

DDNet related images

  • 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.