Template:Items nav: Difference between revisions

From PZwiki
mNo edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><table align=center style="font-size:14px;">
<noinclude>{{Documentation/sandbox|doc=
<tr>
This template is used to display a group of buttons used for navigating the various {{ll|items}} pages.
  <td>
 
  <table class="button">
==Usage==
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Clothing|background-color:#360000;|}}">[[Clothing|<span style="color:white;">Clothing</span>]]
*{{tll|Items nav}}
    </td>
{{Items nav}}
  </table>
 
  </td>
{{Translation guide}}
  <td>
 
  <table class="button">
==See also==
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Equipment|background-color:#360000;|}}">[[Items/Equipment|<span style="color:white;">Equipment</span>]]
*{{ll|Items}}
    </td>
}}
  </table>
{{ll|Category:Navbar}}
  </td>
</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>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Food|background-color:#360000;|}}">[[Items/Food|<span style="color:white;">Food</span>]]
    </td>
  </table>
  </td>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Literature|background-color:#360000;|}}">[[Items/Literature|<span style="color:white;">Literature</span>]]
    </td>
  </table>
  </td>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Medicine|background-color:#360000;|}}">[[Items/Medicine|<span style="color:white;">Medicine</span>]]
    </td>
  </table>
  </td>
</tr>
<tr>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Materials|background-color:#360000;|}}">[[Items/Materials|<span style="color:white;">Materials</span>]]
    </td>
  </table>
  </td>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Miscellaneous|background-color:#360000;|}}">[[Items/Miscellaneous|<span style="color:white;">Miscellaneous</span>]]
    </td>
  </table>
  </td>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Vehicle|background-color:#360000;|}}">[[Items/Vehicle|<span style="color:white;">Vehicle</span>]]
    </td>
  </table>
  </td>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Weapon|background-color:#360000;|}}">[[Items/Weapon|<span style="color:white;">Weapon</span>]]
    </td>
  </table>
  </td>
  <td>
  <table class="button">
    <td class="button" style="width: 110px; height: 30px; line-height: 30px; border-radius: 10px; color: #FFF; text-align:center; vertical-align:middle; border: 2px solid #000; {{#ifeq:{{FULLPAGENAME}}| Items/Unimplemented|background-color:#360000;|}}">[[Items/Unimplemented|<span style="color:white;">Unimplemented</span>]]
    </td>
  </table>
  </td>
</tr>
</table></includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 14: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.