Template:FaunaSet/Data: Difference between revisions

From Paw Borough Wiki
(Created page with "<includeonly>{{#switch: {{{1}}} <!-- |TBA={{#switch: {{{2}}} |title = TITLE |items = {{Card|TBA|acc=y}} }} Fauna w/o a set: list starts--> <!-- EXCLUSIVE FAUNA --> |kickstarter={{#switch: {{{2}}} |title = Kickstarter Exclusive Fauna |items = {{Card|Beta Betta|acc=y}}{{Card|Featherbeau|acc=y}}{{Card|Javasqueak|acc=y}}{{Card|Kitsugi|acc=y}}{{Card|Phantowl|acc=y}}{{Card|Toshi|acc=y}} }} |bug bounty={{#switch: {{{2}}} |title = Bug Bounty Exclusive Fauna |items = {{Card...")
 
m (This should fix things up.)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<noinclude>
<!--
'''This is a template that contains important information used in [[:Template:FaunaSet]], and should not be directly used on article page.'''
|TBA={{#switch: {{{2}}}
 
|title = TITLE
<pre>
|items = {{Card|TBA|acc=y}}
|id={{#switch: {{{2}}}
|title=TITLE
|items={{Card|TBA}}{{Card|TBA}}{{Card|TBA}}
}}
}}
</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 (generally) be ordered alphabetically.


Fauna w/o a set:
A completed example:
<pre>
|romanovtsa={{#switch: {{{2}}}
|title = Romanovtsa
|items = {{Card|Eastern Romanovtsa}}{{Card|Northern Romanovtsa}}{{Card|Southern Romanovtsa}}{{Card|Western Romanovtsa}}
}}
</pre>
[[Category:Set Templates Data]]
</noinclude><includeonly>{{#switch: {{{1}}}
<!-- list starts-->


 
<!-- sets by obtainment -->
list starts-->
<!-- EXCLUSIVE FAUNA -->
|kickstarter={{#switch: {{{2}}}
|kickstarter={{#switch: {{{2}}}
|title = Kickstarter Exclusive Fauna
|title = Kickstarter Exclusive Fauna
|items = {{Card|Beta Betta|acc=y}}{{Card|Featherbeau|acc=y}}{{Card|Javasqueak|acc=y}}{{Card|Kitsugi|acc=y}}{{Card|Phantowl|acc=y}}{{Card|Toshi|acc=y}}
|items = {{Card|Beta Betta}}{{Card|Featherbeau}}{{Card|Javasqueak}}{{Card|Kitsugi}}{{Card|Phantowl}}{{Card|Toshi}}
}}
}}


|bug bounty={{#switch: {{{2}}}
|bug bounty={{#switch: {{{2}}}
|title = Bug Bounty Exclusive Fauna
|title = Bug Bounty Exclusive Fauna
|items = {{Card|Nephrune|acc=y}}{{Card|Northern Chirikami|acc=y}}
|items = {{Card|Nephrune}}{{Card|Northern Chirikami}}
}}
}}
<!--FAUNA BY LOCATION-->
 
<!-- sets by lore -->
|northern={{#switch: {{{2}}}
|northern={{#switch: {{{2}}}
|title = Northern Fauna
|title = Northern Fauna
|items = {{Card|Northern Chirikami|acc=y}}{{Card|Northern Enzoi|acc=y}}{{Card|Northern Glasswing|acc=y}}{{Card|Northern Lunasagi|acc=y}}{{Card|Northern Romanovtsa|acc=y}}{{Card|Northern Sapphurie|acc=y}}{{Card|Northern Starchaser|acc=y}}{{Card|Northern Swordovar|acc=y}}{{Card|Northern Tundrake|acc=y}}{{Card|Northern Velvenox|acc=y}}
|items = {{Card|Northern Chirikami}}{{Card|Northern Enzoi}}{{Card|Northern Glasswing}}{{Card|Northern Lunasagi}}{{Card|Northern Romanovtsa}}{{Card|Northern Sapphurie}}{{Card|Northern Starchaser}}{{Card|Northern Swordovar}}{{Card|Northern Tundrake}}{{Card|Northern Velvenox}}
}}
}}


|southern={{#switch: {{{2}}}
|southern={{#switch: {{{2}}}
|title = Southern Fauna
|title = Southern Fauna
|items = {{Card|Southern Adorvid|acc=y}}{{Card|Southern Flitaya|acc=y}}{{Card|Southern Irimar|acc=y}}{{Card|Southern Manibird|acc=y}}{{Card|Southern Pixiebell|acc=y}}{{Card|Southern Raptaroo|acc=y}}{{Card|Southern Romanovtsa|acc=y}}{{Card|Southern Twinklobite|acc=y}}
|items = {{Card|Southern Adorvid}}{{Card|Southern Flitaya}}{{Card|Southern Irimar}}{{Card|Southern Manibird}}{{Card|Southern Pixiebell}}{{Card|Southern Raptaroo}}{{Card|Southern Romanovtsa}}{{Card|Southern Twinklobite}}
}}
}}


|western={{#switch: {{{2}}}
|western={{#switch: {{{2}}}
|title = Western Fauna
|title = Western Fauna
|items = {{Card|Western Kodahiru|acc=y}}{{Card|Western Nautitum|acc=y}}{{Card|Western Romanovtsa|acc=y}}
|items = {{Card|Western Kodahiru}}{{Card|Western Nautitum}}{{Card|Western Romanovtsa}}
}}
}}


|eastern={{#switch: {{{2}}}
|eastern={{#switch: {{{2}}}
|title = Eastern Fauna
|title = Eastern Fauna
|items = {{Card|Eastern Lupiné|acc=y}}
|items = {{Card|Eastern Lupiné}}{{Card|Eastern Romanovtsa}}
}}
}}


|central={{#switch: {{{2}}}
|central={{#switch: {{{2}}}
|title = Central Fauna
|title = Central Fauna
|items = {{Card|Central Caric|acc=y}}{{Card|Central Frillasnap|acc=y}}{{Card|Central Korg'warde|acc=y}}}}
|items = {{Card|Central Caric}}{{Card|Central Frillasnap}}{{Card|Central Korg'warde}}
<!-- OTHER -->
}}


<!-- sets by theme -->
|canine={{#switch: {{{2}}}
|title=Canine Fauna
|items={{Card|Central Korg'warde}}{{Card|Kitsugi}}{{Card|Northern Chirikami}}{{Card|Northern Enzoi}}{{Card|Northern Velvenox}}
}}
|dragon={{#switch: {{{2}}}
|title=Dragon Fauna
|items={{Card|Nephrune}}{{Card|Northern Sapphurie}}{{Card|Northern Swordovar}}{{Card|Northern Tundrake}}
}}
<!-- sets by variants -->
|romanovtsa={{#switch: {{{2}}}
|romanovtsa={{#switch: {{{2}}}
|title = Romanovtsa
|title = Romanovtsa
|items = {{Card|Northern Romanovtsa|acc=y}}{{Card|Southern Romanovtsa|acc=y}}{{Card|Western Romanovtsa|acc=y}}
|items = {{Card|Eastern Romanovtsa}}{{Card|Northern Romanovtsa}}{{Card|Southern Romanovtsa}}{{Card|Western Romanovtsa}}
}}
 
|pixiebell={{#switch: {{{2}}}
|title=Pixiebell
|items={{Card|Northern Pixiebell}}{{Card|Southern Pixiebell}}{{Card|TBA}}
}}
}}


Line 54: Line 86:
|#default=Set not found.
|#default=Set not found.
}}</includeonly>
}}</includeonly>
<noinclude>[[Category:Set Template Data]]</noinclude>

Latest revision as of 22:07, 26 September 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}}{{Card|TBA}}{{Card|TBA}}
}}

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 (generally) be ordered alphabetically.

A completed example:

|romanovtsa={{#switch: {{{2}}}
|title = Romanovtsa
|items = {{Card|Eastern Romanovtsa}}{{Card|Northern Romanovtsa}}{{Card|Southern Romanovtsa}}{{Card|Western Romanovtsa}}
}}