Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Creature Infobox: Difference between revisions

Template page
Shirra (talk | contribs)
add plurality for creatures except for fish
Rstar256 (talk | contribs)
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 29: Line 29:
   <data source="distribution">
   <data source="distribution">
     <label>Distribution</label>
     <label>Distribution</label>
     <format>{{#switch:{{{distribution|}}}|All Regions=All Regions|#default=[[{{{distribution}}}]]}}</format>
     <format>{{#switch:{{{distribution|}}}|All Regions=All Regions|Exclusive to Islets=Exclusive to [[Islets]]|#default=[[{{{distribution}}}]]}}</format>
   </data>
   </data>
   <data source="time">
   <data source="time">
Line 35: Line 35:
     <format>{{#switch:{{{time|}}}|All Day=All Day|#default=[[{{{time}}}]]}}</format>
     <format>{{#switch:{{{time|}}}|All Day=All Day|#default=[[{{{time}}}]]}}</format>
   </data>
   </data>
  <header>Selling Prices</header>
  <group layout="horizontal">
    <data source="price1">
      <label>★</label>
      <format>{{{price1}}}</format>
    </data>
    <data source="price2">
      <label>★★</label>
      <format>{{{price2}}}</format>
    </data>
    <data source="price3">
      <label>★★★</label>
      <format>{{{price3}}}</format>
    </data>
  </group>
   <data source="description">
   <data source="description">
     <format>'''Description'''<br>{{{description}}}</format>
     <format>'''Description'''<br>{{{description}}}</format>
Line 43: Line 58:
Sort
Sort
-->{{#if:{{{number|}}}|[[Category:Creature|{{{number}}}]]|[[Category:Creature]][[Category:Creature Missing Number]]}}<!--
-->{{#if:{{{number|}}}|[[Category:Creature|{{{number}}}]]|[[Category:Creature]][[Category:Creature Missing Number]]}}<!--
Category
-->{{#switch:{{{category}}}|Shore-Dweller=[[Category:Shore-Dwellers]]|Insect=[[Category:Insects]]|[[Category:{{{category}}}]]}}<!--
Type
Type
-->{{#switch:{{{type}}}|Fish=[[Category:{{{type}}}]]|Shore-Dweller|Insect=[[Category:{{{type}}}s]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!--
Category
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!--
Quality
Quality
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}}
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}}