Template:Infobox item/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
(still unsure if terminology is correct)
Line 9: Line 9:
     <group>
     <group>
       <header>Information</header>
       <header>Information</header>
      <data source="farm">
        <label>Farm</label>
        <format><!--
            -->{{#switch:{{{farm}}}<!--
              -->|Land|Ocean = {{{farm}}}<!--
              -->|#default = {{{farm|}}}<!--
          -->}}
        </format>
      </data>
       <data source="type">
       <data source="type">
         <label>Type</label> <!-- Type shown in in-game details -->
         <label>Type</label> <!-- Type shown in in-game details -->
Line 328: Line 337:
   -->|Others<!--
   -->|Others<!--
       -->= [[Category:{{{type}}}]]<!--
       -->= [[Category:{{{type}}}]]<!--
  -->|#default = [[Category:Pages with wrong input]]<!--
-->}}<!--
  Type
-->{{#switch:{{{farm}}}<!--
  -->|Land|Ocean=<!-- crops
      -->[[Category:{{{farm}}} crops]]<!--
   -->|#default = [[Category:Pages with wrong input]]<!--
   -->|#default = [[Category:Pages with wrong input]]<!--
-->}}<!--
-->}}<!--
Line 378: Line 393:
|image        = Carrot.png
|image        = Carrot.png
|journal_id  = 6
|journal_id  = 6
|farm        = Land
|type        = Vegetable
|type        = Vegetable
|seed        = Carrot seeds
|seed        = Carrot seeds

Revision as of 14:09, 15 July 2024

225Asian Bookshelves.png
This is the template draft page for Template:Infobox item (diff).
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Example 1

Example 2

Example 3


Example 4

Example