Template:Fashion/s: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Always the problem with template code...)
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{mainspace|template|status=complete}}
{{Fashion/header|slot=Top}}
This template is for creating a table for a given "slot" of fashion (tables of tops, bottoms, etc).
</noinclude>|- style="background-color: #FFF;"
 
 
{{User:Tiddlywinks/Template:Fashion/header|slot=Top}}
</noinclude>
|- style="background: #fff"
{{#ifeq: {{{rows|1}}}|0|<!--nothing-->|{{!}} rowspan={{{rows|1}}} {{!}} {{{1}}}
{{#ifeq: {{{rows|1}}}|0|<!--nothing-->|{{!}} rowspan={{{rows|1}}} {{!}} {{{1}}}
{{!}} rowspan={{{rows|1}}} {{!}} {{{2}}} }}
{{!}} rowspan={{{rows|1}}} {{!}} {{{2}}} }}
Line 12: Line 7:
| {{{4}}}
| {{{4}}}
| {{{5}}}
| {{{5}}}
| data-sort-value={{formatnum:{{{6|0}}}|R}} | [[File:PokémonDollar.png|link=Pokémon Dollar]]{{{6}}}
| data-sort-value={{formatnum:{{{6|0}}}|R}} | {{PDollar}}{{{6}}}
| {{{7}}}<noinclude>
| {{{7}}}<noinclude>
{{User:Tiddlywinks/Template:Fashion/footer}}
{{Fashion/footer}}


{{documentation}}


<!--
[[Category:Table templates]]
[[Category:Table templates]]
-->
</noinclude>
</noinclude>

Latest revision as of 02:31, 1 March 2024

Top Japanese Patterns by availability Price Location
 S  M  US  UM   S  US   M  UM 
{{{1}}} {{{2}}} {{{3}}} {{{4}}} {{{5}}} ${{{6}}} {{{7}}}



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

This template is for creating the rows of a table for a given "slot" of fashion item (tables of tops, bottoms, etc).

Parameters

Unnamed
  • 1: the name of the item
  • 2: the Japanese name of the item
  • 3: the patterns (colors) that appear in all games
  • 4: the patterns (colors) that appear in only Sun or Ultra Sun
  • 5: the patterns (colors) that appear in only Moon or Ultra Moon
  • 6: the item's price (or if it cannot be bought)
  • 7: where the item can be found or bought
Named
  • rows (optional): the number of different rows this item should have (defaults to 1). The first two cells will cover this many rows. If rows is greater than 1, the next Fashion/s call(s) should use rows=0 to hide the first two cells.