Template:See: Difference between revisions

From PZwiki
m (update doc)
Line 4: Line 4:


==Usage==
==Usage==
{{Tlx|See|Project Zomboid Wiki}}
{{See|Project Zomboid Wiki}}
{{Tlx|See|Project Zomboid Wiki|The Main Page}}
{{See|Project Zomboid Wiki|The Main Page}}
===Parameters===
===Parameters===
;<code>1</code> <sup>(required)</sup>
;<code>1</code> <sup>(required)</sup>
Line 14: Line 9:
;<code>2</code>
;<code>2</code>
:The text to display.
:The text to display.
==Examples==
*{{tll|See|Project Zomboid Wiki}}
{{See|Project Zomboid Wiki}}
*{{tll|See|Project Zomboid Wiki|The Main Page}}
{{See|Project Zomboid Wiki|The Main Page}}


{{Translation guide|<syntaxhighlight lang="html">
{{Translation guide|<syntaxhighlight lang="html">
Line 25: Line 26:
*{{ll|Template:About}}
*{{ll|Template:About}}
*{{ll|Template:Main}}
*{{ll|Template:Main}}
*{{ll|Template:Main/core}}
}}
}}
{{ll|Category:Templates}}
{{ll|Category:Templates}}
</noinclude><includeonly>{{#if: {{{1|}}}
</noinclude><includeonly>{{#if: {{{1|}}}
| :''{{tt
| :''{{tt|name = See
  | name = See
   | default = See more
   | default = See more
   | arg1 = see_more
   | arg1 = see_more

Revision as of 12:22, 30 December 2023

Notebook.pngTemplate Documentation

This template is used when only a part of a heading's title are discussed. Linking to more of the same topic.

Usage

Parameters

1 (required)
The page to link to.
2
The text to display.

Examples

  • {{See|Project Zomboid Wiki}}
See more: Project Zomboid Wiki
  • {{See|Project Zomboid Wiki|The Main Page}}
See more: The Main Page

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| see_more = See more
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.