Template:NavSpecies/doc: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll
(Created page with "Creates a species visual navbox based based on given parameters.<br/> First letter of parameter will always get capitalized.<br/> Currently supports up to 15 tabs, but it can ...")
 
(update doc)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;Description
Creates a species visual navbox based based on given parameters.<br/>
:Creates a species visual navbox with up to 15 tabs based on given parameters.
First letter of parameter will always get capitalized.<br/>
Currently supports up to 15 tabs, but it can be expanded if needed.


;Info
For example using this: {{T|NavSpecies|shadow|Harpy|mermaid|Beast|beast}}<br/>
:All valid tabs can be found [https://phereon.fandom.com/index.php?title=Special%3APrefixIndex&prefix=NavSpecies%2F&namespace=10 here]
Will result in this:
:The first letter of parameters will always get capitalized
{{NavSpecies|shadow|Harpy|mermaid|Beast|beast}}
: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
For example using this: <pre>{{NavSpecies|open=3|shadow|Harpy|mermaid|Beast}}</pre>
Will result in this: {{NavSpecies|open=3|shadow|Harpy|mermaid|Beast}}

<includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:30, 25 July 2022

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

For example using this:

{{NavSpecies|open=3|shadow|Harpy|mermaid|Beast}}

Will result in this: