Template:Items nav: Difference between revisions

From PZwiki
(Update style, change order)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Documentation/sandbox|doc=
{{Languages}}
This template is used to display a group of buttons used for navigating the various {{ll|items}} pages.
{{Documentation}}
 
[[Category:Templates]]</noinclude><includeonly>{| class="button" align="center" style="font-size: 14px; border-collapse: separate; border-spacing: 8px; text-align: center; line-height: 30px;"
==Usage==
|-
*{{tll|Items nav}}
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Clothing|background-color: #360000;|}}"|[[Clothing|<span style="color: #ffffff;">Clothing</span>]]
{{Items nav}}
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Weapons|background-color: #360000;|}}"|[[Weapons|<span style="color: #ffffff;">Weapons</span>]]
 
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Equipment|background-color: #360000;|}}"|[[Equipment|<span style="color: #ffffff;">Equipment</span>]]
{{Translation guide}}
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Literature|background-color: #360000;|}}"|[[Literature|<span style="color: #ffffff;">Literature</span>]]
 
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Medical|background-color: #360000;|}}"|[[Medical|<span style="color: #ffffff;">Medical</span>]]
==See also==
|-
*{{ll|Items}}
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Food|background-color: #360000;|}}"|[[Food|<span style="color: #ffffff;">Food</span>]]
}}
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Vehicle parts|background-color: #360000;|}}"|[[Vehicle parts|<span style="color: #ffffff;">Vehicle parts</span>]]
{{ll|Category:Navbar}}
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Materials|background-color: #360000;|}}"|[[Materials|<span style="color: #ffffff;">Materials</span>]]
</noinclude><includeonly>{{Navbar|{{ll|Items}}{{ll|Weapons}}{{ll|Clothing}}{{ll|Equipment}}{{ll|Food}}{{ll|Medical}}{{ll|Literature}}{{ll|Vehicle maintenance}}{{ll|Material}}{{ll|Electronics}}{{ll|Gardening}}{{ll|Plush toys}}{{ll|Junk}}}}</includeonly>
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Miscellaneous items|background-color: #360000;|}}"|[[Miscellaneous items|<span style="color: #ffffff;">Miscellaneous</span>]]
| style="width: 150px; border-radius: 10px; border: 2px solid #000000; {{#ifeq:{{FULLPAGENAME}}|Unimplemented items|background-color: #360000;|}}"|[[Unimplemented items|<span style="color: #ffffff;">Unimplemented</span>]]
|}</includeonly>

Latest revision as of 15:40, 11 January 2024

Notebook.pngTemplate Documentation

This template is used to display a group of buttons used for navigating the various items pages.

Usage

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.