Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Editing Template:Tabnav

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<includeonly>{{clear}}&nbsp;{{#if:{{{series|}}}|{{#vardefine:series|{{{series}}}}}}}{{#if:{{{comics|}}}|{{#vardefine:comics|{{{comics}}}}}}}{{#tag:tabber|{{#fornumargs: number|value|{{tabswitch|{{#var:value}}|{{#var:series}}|{{#var:comics}}}}{{!}}-{{!}}}}{{#forargs: episode | key | value | Subjects: {{#var:value}}={{Episode Subjects ({{#var:series}})|{{#var:value}}}}{{!}}-{{!}}}}{{#forargs: comics | key | value | Subjects: {{comics|nolink=y|nocat=Y|{{#var:value}}}}={{Comics Subjects|{{#var:value}}}}{{!}}-{{!}}}}{{#forargs: characters | key | value | Subjects: {{#var:value}}={{Characters|{{#var:value}}}}{{!}}-{{!}}}}}}{{indicator|{{#var:series}}}}</includeonly><noinclude>[[Category: Battlestar Wiki Templates]]<templatedata>
<includeonly>{{clear}}&nbsp;{{#if:{{{series|}}}|{{#vardefine:series|{{{series}}}}}}}{{#if:{{{comics|}}}|{{#vardefine:comics|{{{comics}}}}}}}{{#tag:tabber|{{#fornumargs: number|value|{{tabswitch|{{#var:value}}|{{#var:series}}|{{#var:comics}}}}{{!}}-{{!}}}}{{#forargs: episode | key | value | Subjects: {{#var:value}}={{Episode Subjects ({{#var:series}})|{{#var:value}}}}{{!}}-{{!}}}}{{#forargs: comics | key | value | Subjects: {{comics|nolink=y|nocat=Y|{{#var:value}}}}={{Comics Subjects|{{#var:value}}}}{{!}}-{{!}}}}{{#forargs: characters | key | value | Subjects: {{#var:value}}={{Characters|{{#var:value}}}}{{!}}-{{!}}}}}}</includeonly><noinclude>[[Category: Battlestar Wiki Templates]]</noinclude>
{
"description": "This template creates a tabbed interface to display subjects related to different topics, such as episodes, comics, or characters from the Battlestar Galactica universe.",
"format": "block",
"paramOrder": [
"series",
"1",
"episode1",
"comics1",
"characters1",
"comics"
],
"params": {
"series": {
"label": "Series Identifier",
"description": "The identifier for the television series (e.g., 'RDM' for the Re-imagined Series, 'TOS' for the Original Series). This is required when using 'episode' parameters to fetch the correct subject list.",
"type": "string",
"example": "RDM",
"required": false
},
"1": {
"label": "Tab 1",
"description": "The name of an episode, character, or other topic to create a generic tab for. Additional numbered parameters (2, 3, 4, etc.) can be used to create more tabs.",
"type": "wiki-page-name",
"suggested": true,
"aliases": [
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10"
]
},
"episode1": {
"label": "Episode 1",
"description": "The name of an episode to create a dedicated subjects tab for. Requires the 'series' parameter to be set. Use additional parameters with increasing numbers (e.g., episode2, episode3) for more episode tabs.",
"type": "wiki-page-name",
"suggested": true
},
"comics1": {
"label": "Comic 1",
"description": "The name of a comic to create a dedicated subjects tab for. Use additional parameters with increasing numbers (e.g., comics2, comics3) for more comic tabs.",
"type": "wiki-page-name",
"suggested": true
},
"characters1": {
"label": "Character 1",
"description": "The name of a character to create a dedicated subjects tab for. Use additional parameters with increasing numbers (e.g., characters2, characters3) for more character tabs.",
"type": "wiki-page-name",
"suggested": true
},
"comics": {
"label": "Comics Series Identifier",
"description": "An identifier for a specific comic book series. This may be used by sub-templates to alter how comic tabs are displayed.",
"type": "string",
"required": false
}
},
"sets": [
{
"label": "Generic Tabs (using numbered parameters)",
"params": [
"1"
]
},
{
"label": "Episode Subject Tabs (requires 'series' parameter)",
"params": [
"series",
"episode1"
]
}
]
}
</templatedata></noinclude>

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).