Template:NavSpecies: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll No edit summary |
portalsofphereon>Olaroll No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#tag: |
<includeonly><div class="tabber-NavSpecies">{{#tag:tabber| |
||
⚫ | |||
<!-- if Parameter not empty -> Template:NavSpecies/Parameter|Parameter (Parameter gets capitalized if necessary) --> |
|||
{{!}}-{{!}} |
|||
⚫ | |||
{{#if:{{{2|}}}| |
{{#if:{{{2|}}}|{{ucfirst:{{{2|}}}}}={{NavSpecies/{{ucfirst:{{{2|}}}}}}}}} |
||
{{!}}-{{!}} |
|||
⚫ | |||
{{#if:{{{ |
{{#if:{{{3|}}}|{{ucfirst:{{{3|}}}}}={{NavSpecies/{{ucfirst:{{{3|}}}}}}}}} |
||
{{!}}-{{!}} |
|||
⚫ | |||
{{#if:{{{ |
{{#if:{{{4|}}}|{{ucfirst:{{{4|}}}}}={{NavSpecies/{{ucfirst:{{{4|}}}}}}}}} |
||
{{!}}-{{!}} |
|||
⚫ | |||
{{#if:{{{ |
{{#if:{{{5|}}}|{{ucfirst:{{{5|}}}}}={{NavSpecies/{{ucfirst:{{{5|}}}}}}}}} |
||
{{!}}-{{!}} |
|||
⚫ | |||
{{#if:{{{ |
{{#if:{{{6|}}}|{{ucfirst:{{{6|}}}}}={{NavSpecies/{{ucfirst:{{{6|}}}}}}}}} |
||
{{!}}-{{!}} |
|||
⚫ | |||
{{#if:{{{ |
{{#if:{{{7|}}}|{{ucfirst:{{{7|}}}}}={{NavSpecies/{{ucfirst:{{{7|}}}}}}}}} |
||
{{!}}-{{!}} |
|||
⚫ | |||
{{#if:{{{ |
{{#if:{{{8|}}}|{{ucfirst:{{{8|}}}}}={{NavSpecies/{{ucfirst:{{{8|}}}}}}}}} |
||
{{!}}-{{!}} |
|||
⚫ | |||
⚫ | |||
<!-- If needed, add more lines with the same pattern here --> |
|||
{{!}}-{{!}} |
|||
⚫ | |||
⚫ | |||
{{!}}-{{!}} |
|||
⚫ | |||
{{!}}-{{!}} |
|||
⚫ | |||
{{!}}-{{!}} |
|||
⚫ | |||
{{!}}-{{!}} |
|||
⚫ | |||
{{!}}-{{!}} |
|||
⚫ | |||
<!--Continue pattern as needed--> |
|||
⚫ | |||
IMPORTANT NOTE: There is a zero width space (there is one here ><) before each = sign. This is to prevent an issue with tabber when the tab name and a link in said tab have the same name. |
|||
--><noinclude>{{Documentation}}</noinclude> |
--><noinclude>{{Documentation}}</noinclude> |
Revision as of 16:00, 15 November 2019
- Description
- Creates a species visual navbox with up to 15 tabs based on given parameters.
- Info
- All valid tabs can be found here
- The first letter of parameters will always get capitalized
- The optional open=# parameter can be used to specify which tab is open by default
- The optional class= parameter can be used to add class to the tabler. currently available: wide
- See also Template:NavSpeciesBasic
- Tab color styles are done in Template:NavSpecies/NavSpecies.css
- Example
{{NavSpecies|open=3|shadow|Harpy|mermaid|Beast}}Will result in this:
[view | edit | purge]The above documentation is transcluded fromTemplate:NavSpecies/doc.