Template:NavSpecies: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll |
portalsofphereon>Olaroll No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> |
<onlyinclude>{{#tag:tabview| |
||
<!-- if Parameter not empty -> Template:NavSpecies/Parameter|Parameter (Parameter gets capitalized if necessary) --> |
<!-- if Parameter not empty -> Template:NavSpecies/Parameter|Parameter (Parameter gets capitalized if necessary) --> |
||
{{#tag:tabview| |
|||
{{#if:{{{1|}}}|Template:NavSpecies/{{ucfirst:{{{1|}}}}}{{!}}{{ucfirst:{{{1|}}}}}}}{{#ifeq:{{{open|}}}|1|{{!}}{{!}}true}} |
{{#if:{{{1|}}}|Template:NavSpecies/{{ucfirst:{{{1|}}}}}{{!}}{{ucfirst:{{{1|}}}}}}}{{#ifeq:{{{open|}}}|1|{{!}}{{!}}true}} |
||
{{#if:{{{2|}}}|Template:NavSpecies/{{ucfirst:{{{2|}}}}}{{!}}{{ucfirst:{{{2|}}}}}}}{{#ifeq:{{{open|}}}|2|{{!}}{{!}}true}} |
{{#if:{{{2|}}}|Template:NavSpecies/{{ucfirst:{{{2|}}}}}{{!}}{{ucfirst:{{{2|}}}}}}}{{#ifeq:{{{open|}}}|2|{{!}}{{!}}true}} |
||
Line 18: | Line 17: | ||
{{#if:{{{15|}}}|Template:NavSpecies/{{ucfirst:{{{15|}}}}}{{!}}{{ucfirst:{{{15|}}}}}}}{{#ifeq:{{{open|}}}|15|{{!}}{{!}}true}} |
{{#if:{{{15|}}}|Template:NavSpecies/{{ucfirst:{{{15|}}}}}{{!}}{{ucfirst:{{{15|}}}}}}}{{#ifeq:{{{open|}}}|15|{{!}}{{!}}true}} |
||
<!-- If needed, add more lines with the same pattern here --> |
<!-- If needed, add more lines with the same pattern here --> |
||
⚫ | |||
}} |
|||
⚫ | |||
<noinclude>{{Documentation}}</noinclude> |
<noinclude>{{Documentation}}</noinclude> |
Revision as of 11:43, 8 September 2019
<tabview>
</tabview>
- 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: <tabview> Template:NavSpecies/Shadow|Shadow Template:NavSpecies/Harpy|Harpy Template:NavSpecies/Mermaid|Mermaid||true Template:NavSpecies/Beast|Beast
</tabview>
[view | edit | purge]The above documentation is transcluded fromTemplate:NavSpecies/doc.