Template:Tiered Body Part Equipment Navbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{Navbox | <includeonly>{{Navbox | ||
| name = {{{navboxname|Body Armor}}} | | name = {{{navboxname|Body Armor}}} | ||
| title = List of [[:Category:{{{category|Armor}}}|{{{navboxname|Body Armor}}}]] | | title = List of [[:Category:{{{category|Armor}}}|{{{navboxtitle|{{{navboxname|Body Armor}}}}}}]] | ||
| below = <div style="text-align:right;font-size:100%; font-weight:bold; font-family:Source Code Pro;"><span style="color:#155352;">see also:</span> [[Template:Armor_Navbox|full list of armor and shields]] <span style="color:#155352;">-</span> [[List_of_Body_Parts|equipment by body part]]</span></div> | | below = <div style="text-align:right;font-size:100%; font-weight:bold; font-family:Source Code Pro;"><span style="color:#155352;">see also:</span> [[Template:Armor_Navbox|full list of armor and shields]] <span style="color:#155352;">-</span> [[List_of_Body_Parts|equipment by body part]]</span></div> | ||
| listclass = hlist | | listclass = hlist | ||
Line 128: | Line 128: | ||
|- | |- | ||
| navboxname | | navboxname | ||
| Name of the navbox | | Name of the navbox. Should match the navbox page name excluding the " Navbox" part at the end. For example, "Template:Body Armor Navbox" should have this set to "Body Armor". | ||
|- | |||
| navboxtitle | |||
| Optional. User-friendly navbox title. Defaults to navboxname if not specified. | |||
|- | |- | ||
| bodypart | | bodypart |
Revision as of 00:18, 21 December 2021
Generic template wrapper for a tiered body part equipment navbox for the specified body part. Excludes shields and bucklers from the navbox by default.
parameter | description |
---|---|
navboxname | Name of the navbox. Should match the navbox page name excluding the " Navbox" part at the end. For example, "Template:Body Armor Navbox" should have this set to "Body Armor". |
navboxtitle | Optional. User-friendly navbox title. Defaults to navboxname if not specified. |
bodypart | The body part that will be used for cargo queries, such as "Head" or "Body". |
category | The associated category to link to. For example, the Body Armor Navbox sets this to "Armor", which results in a link to Category:Armor. |
Example:
{{Tiered Body Part Equipment Navbox|category=Head Equipment|bodypart=Head|navboxname=Head Equipment}}
Result:
|