Template:DecorSet/Data: Difference between revisions

From Paw Borough Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<noinclude>
<!--
'''This is a template that contains important information used in [[:Template:DecorSet]], and should not be directly used on article page.'''
|TBA={{#switch: {{{2}}}
 
|title = TITLE
<pre>
|items = {{Card|TBA}}
|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 cushion decor set has the id "cushion".
* "'''TITLE'''" is the visible title of the set. The name should be reasonable, as an example the cushion decor set can be titled "Cushion Decor".
* Items are added after <code>|items=</code> and utilize the '''[[:Template:Card|<nowiki>{{Card}}</nowiki>]]''' template. Items should be ordered alphabetically.


list starts
A completed example:
 
<pre>
 
|cushion={{#switch: {{{2}}}
Large Sets
|title = Cushion Decor
Encompass a broad theme -->
|items = {{Card|Blue Cushion}}{{Card|Green Cushion}}
}}
</pre>
[[Category:Set Templates Data]]
</noinclude><includeonly>{{#switch: {{{1}}}
<!-- list starts -->
<!-- sets by theme -->
|avian={{#switch: {{{2}}}
|avian={{#switch: {{{2}}}
|title = Avian Decor
|title = Avian Decor
Line 30: Line 43:
|items = {{Card|Black Daisy}}{{Card|Black Rose}}{{Card|Daisy}}{{Card|Daisy Patch}}{{Card|Golden Rose}}{{Card|Indigo Daisy}}{{Card|Light Pink Daisy}}{{Card|Light Pink Rose}}{{Card|Orange Daisy}}{{Card|Pink Daisy}}{{Card|Pink Rose}}{{Card|Purple Daisy}}{{Card|Rainbow Rose}}{{Card|Red Rose}}{{Card|Red Rose Patch}}{{Card|Summer Yard Bush}}{{Card|Violet}}{{Card|Violet Patch}}{{Card|White Rose}}{{Card|Withered Rose}}{{Card|Yellow Daisy}}{{Card|Yellow Rose}}
|items = {{Card|Black Daisy}}{{Card|Black Rose}}{{Card|Daisy}}{{Card|Daisy Patch}}{{Card|Golden Rose}}{{Card|Indigo Daisy}}{{Card|Light Pink Daisy}}{{Card|Light Pink Rose}}{{Card|Orange Daisy}}{{Card|Pink Daisy}}{{Card|Pink Rose}}{{Card|Purple Daisy}}{{Card|Rainbow Rose}}{{Card|Red Rose}}{{Card|Red Rose Patch}}{{Card|Summer Yard Bush}}{{Card|Violet}}{{Card|Violet Patch}}{{Card|White Rose}}{{Card|Withered Rose}}{{Card|Yellow Daisy}}{{Card|Yellow Rose}}
}}
}}
<!--


Smaller Sets -->
<!-- sets by obtainment -->
|kickstarter={{#switch: {{{2}}}
|kickstarter={{#switch: {{{2}}}
|title = Kickstarter Exclusive Decor
|title = Kickstarter Exclusive Decor
Line 39: Line 50:
}}
}}


<!-- sets by variants -->
|daisy={{#switch: {{{2}}}
|daisy={{#switch: {{{2}}}
|title = Daisy Decor
|title = Daisy Decor
Line 161: Line 173:
|#default=Set not found.
|#default=Set not found.
}}</includeonly>
}}</includeonly>
<noinclude>[[Category:Set Template Data]]</noinclude>

Latest revision as of 15:22, 25 August 2026

This is a template that contains important information used in Template:DecorSet, 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 cushion decor set has the id "cushion".
  • "TITLE" is the visible title of the set. The name should be reasonable, as an example the cushion decor set can be titled "Cushion Decor".
  • Items are added after |items= and utilize the {{Card}} template. Items should be ordered alphabetically.

A completed example:

|cushion={{#switch: {{{2}}}
|title = Cushion Decor
|items = {{Card|Blue Cushion}}{{Card|Green Cushion}}
}}