Template:Navbox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "class="([^"\n]+)" style="([^"\n]+)" colspan="([^"\n]+)"" to "class="$1" colspan="$3" style="$2"")
Line 15: Line 15:
{{!}} }}
{{!}} }}
{{!}}-
{{!}}-
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{above}}} }}<!--
{{!}} class="navbox-abovebelow" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" {{!}} {{{above}}} }}<!--
--- First group/list and images ---
--- First group/list and images ---
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/>
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/>
Line 45: Line 45:
{{!}} }}
{{!}} }}
{{!}}-
{{!}}-
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{below}}} }}
{{!}} class="navbox-abovebelow" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" {{!}} {{{below}}} }}
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{!}}} }}</includeonly><noinclude>
{{!}}} }}</includeonly><noinclude>
{{Doc/Template}} [[Category:Parent templates]]</noinclude>
{{Doc/Template}} [[Category:Parent templates]]</noinclude>

Revision as of 18:30, September 15, 2022

vde
Template Documentation

This template supports "unlimited" list/group parameters.

State usage

These are guidelines for the state parameter:

  • |state=collapsed - The table is collapsible and collapsed (default).
  • |state=open - The table is collapsible and not collapsed.
  • |state=auto - The table is collapsible and will collapse if multiple boxes are present.
  • |state=plain - The table is not collapsible.

Key characters

  • To be released = Italics
    • If a piece of media is yet to be released please put the media into Italics.
  • Fan name = †
    • If a piece of media has no named and has to use a fan term/name please put †.
  • Other language = ‡
    • If a piece of media is only in another language please put ‡.