Template:Tiered Body Part Equipment Navbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(add seealso param) |
||
Line 2: | Line 2: | ||
| name = {{{navboxname|Body Armor}}} Navbox | | name = {{{navboxname|Body Armor}}} Navbox | ||
| title = List of [[:Category:{{{category|Armor}}}|{{{navboxtitle|{{{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> {{#if:{{{seealso|}}}|{{{seealso}}} <span style="color:#155352;">-</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 | ||
| state = {{{state|collapsed}}} | | state = {{{state|collapsed}}} | ||
Line 138: | Line 138: | ||
| category | | 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]]. | | The associated category to link to. For example, the Body Armor Navbox sets this to "Armor", which results in a link to [[:Category:Armor]]. | ||
|- | |||
| seealso | |||
| Optional. An additional link that should be pre-pended to the default list of "see also:" links. | |||
|} | |} | ||
Revision as of 18: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. |
seealso | Optional. An additional link that should be pre-pended to the default list of "see also:" links. |
Example:
{{Tiered Body Part Equipment Navbox|category=Head Equipment|bodypart=Head|navboxname=Head Equipment}}
Result:
|