Template:FaunaSet/Data: Difference between revisions
From Paw Borough Wiki
(Whoops, that's not meant to be here.) |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <noinclude> | ||
< | '''This is a template that contains important information used in [[:Template:FaunaSet]], and should not be directly used on article page.''' | ||
| | |||
|title = TITLE | <pre> | ||
|items = {{Card|TBA}} | |id={{#switch: {{{2}}} | ||
|title=TITLE | |||
|items={{Card|TBA|acc=y}}{{Card|TBA|acc=y}}{{Card|TBA|acc=y}} | |||
}} | }} | ||
</pre> | |||
Add the above to the source code after "<nowiki><!-- list starts --></nowiki>" but ''before'' "<nowiki><!-- list ends --></nowiki>". | |||
* "'''id'''" should always be '''lowercase''' to keep consistency. The name should be reasonable, as an example the Romanovtsa faunas may have the id "romanovtsa". | |||
* "'''TITLE'''" is the visible title of the set. The name should be reasonable, as an example the Romanovtsa faunas may be simply titled "Romanovtsa". | |||
* Items are added after <code>|items=</code> and utilize the '''[[:Template:Card|<nowiki>{{Card}}</nowiki>]]''' template. Items should be ordered alphabetically. | |||
A completed example: | |||
<pre> | |||
|romanovtsa={{#switch: {{{2}}} | |||
|title = Romanovtsa | |||
|items = {{Card|Northern Romanovtsa}}{{Card|Southern Romanovtsa}}{{Card|Western Romanovtsa}} | |||
}} | |||
</pre> | |||
[[Category:Set Templates Data]] | |||
</noinclude><includeonly>{{#switch: {{{1}}} | |||
<!-- list starts--> | |||
<!-- sets by obtainment --> | |||
<!-- | |||
|kickstarter={{#switch: {{{2}}} | |kickstarter={{#switch: {{{2}}} | ||
|title = Kickstarter Exclusive Fauna | |title = Kickstarter Exclusive Fauna | ||
| Line 20: | Line 34: | ||
|items = {{Card|Nephrune}}{{Card|Northern Chirikami}} | |items = {{Card|Nephrune}}{{Card|Northern Chirikami}} | ||
}} | }} | ||
<!-- | |||
<!-- sets by lore --> | |||
|northern={{#switch: {{{2}}} | |northern={{#switch: {{{2}}} | ||
|title = Northern Fauna | |title = Northern Fauna | ||
| Line 44: | Line 59: | ||
|title = Central Fauna | |title = Central Fauna | ||
|items = {{Card|Central Caric}}{{Card|Central Frillasnap}}{{Card|Central Korg'warde}}}} | |items = {{Card|Central Caric}}{{Card|Central Frillasnap}}{{Card|Central Korg'warde}}}} | ||
<!-- sets by variants --> | |||
|romanovtsa={{#switch: {{{2}}} | |romanovtsa={{#switch: {{{2}}} | ||
|title = Romanovtsa | |title = Romanovtsa | ||
| Line 54: | Line 69: | ||
|#default=Set not found. | |#default=Set not found. | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 15:30, 25 August 2026
This is a template that contains important information used in Template:FaunaSet, and should not be directly used on article page.
|id={{#switch: {{{2}}}
|title=TITLE
|items={{Card|TBA|acc=y}}{{Card|TBA|acc=y}}{{Card|TBA|acc=y}}
}}
Add the above to the source code after "<!-- list starts -->" but before "<!-- list ends -->".
- "id" should always be lowercase to keep consistency. The name should be reasonable, as an example the Romanovtsa faunas may have the id "romanovtsa".
- "TITLE" is the visible title of the set. The name should be reasonable, as an example the Romanovtsa faunas may be simply titled "Romanovtsa".
- Items are added after
|items=and utilize the {{Card}} template. Items should be ordered alphabetically.
A completed example:
|romanovtsa={{#switch: {{{2}}}
|title = Romanovtsa
|items = {{Card|Northern Romanovtsa}}{{Card|Southern Romanovtsa}}{{Card|Western Romanovtsa}}
}}
