Template:Infobox quest: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><infobox><!-- --><title source="name"> <format>{{{name}}}</format> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <group> <data source="type"> <label>Type</label> <format>[[{{{type}}}]]</format> </data> <data source="location"> <label>Area</label> <format>[[{{{location|}}}]]</format> </data> <data sourc...")
 
(add source)
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
     <group>
     <group>
         <data source="type">
         <data source="type">
             <label>Type</label>
             <label>Quest type</label>
             <format>[[{{{type}}}]]</format>
             <format><!--
            -->{{#switch:{{{type}}}<!--
              -->|Main Quest|Side Quest|Errand|Heart Event|Slice of Life Event = [[{{{type}}}]]<!--
              -->|#default = {{{type|}}}<!--
          -->}}
        </format>
         </data>
         </data>
        <data source="source">
    <label>Source</label>
    </data>
        <data source="requirement">
    <label>Requirements</label>
    </data>
         <data source="location">
         <data source="location">
             <label>Area</label>
             <label>Area</label>
             <format>[[{{{location|}}}]]</format>
             <format>[[{{{location|}}}]]</format>
         </data>
         </data>
         <data source="description">
         <data source="rewards">
             <label>Area</label>
             <label>Rewards</label>
             <format>[[{{{location|}}}]]</format>
             <format>{{Icon list|{{{rewards}}}|size=24|list=1}}</format>
         </data>
         </data>
         <data source="character">
         <data source="characters">
            <label>Characters</label>
<format>{{Array|{{{characters}}}|;|[[{item}]]|,<nowiki> </nowiki>|sort=1}}</format>
            <format><!--
            -->{{Array|{{{character}}}|;|3=[[{item}<!--
                -->]]<!--
            -->}}<!--
        --></format>
         </data>
         </data>
     </group>
     </group>
    <group layout="horizontal" row-items="2">
<data source="prev">
<label>Previous quest{{#if:{{{prev2|}}}|s}}</label>
<default>{{#if:{{{next|}}}|N/A}}</default>
<format>{{Link label|{{{prev}}}}}{{#if:{{{prev_note|}}}|<br /><small>({{{prev_note}}})</small>}}<!--
-->{{#if:{{{prev2|}}}|<hr />{{Link label|{{{prev2}}}}}{{#if:{{{prev_note2|}}}|<br /><small>({{{prev_note2}}})</small>}}}}</format>
</data>
<data source="next">
<label>Next quest{{#if:{{{next2|}}}|s}}</label>
<default>{{#if:{{{prev|}}}|N/A}}</default>
<format>{{Link label|{{{next}}}}}{{#if:{{{next_note|}}}|<br /><small>({{{next_note}}})</small>}}<!--
-->{{#if:{{{next2|}}}|<hr />{{Link label|{{{next2}}}}}{{#if:{{{next_note2|}}}|<br /><small>({{{next_note2}}})</small>}}}}</format>
</data>
</group>
</infobox><!--
</infobox><!--
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
--><!--{{DISPLAYTITLE:{{#if:{{{name|}}}|{{{name|}}}|{{#replace:{{PAGENAME}}|(character)|}}}}|noreplace}}--><!--
--><!--{{DISPLAYTITLE:{{#if:{{{name|}}}|{{{name|}}}|{{#replace:{{PAGENAME}}|(character)|}}}}|noreplace}}--><!--
-->[[Category:Locations]]<!--
-->[[Category:Locations]]<!--
     -->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}s]]}}}}<!--
     -->{{#switch:{{{type}}}<!--
      -->|Main Quest|Side Quest|Errand|Heart Event|Slice of Life Event = [[{{{type}}}]]s<!--
      -->|#default = [[Category:Pages with wrong input]]<<!--
    -->}}<!--
    -->{{#if:{{{id|}}}|[[Category:Quests by ID|{{{id}}}]]|[[Category:Quests by ID]][[Category:Quest missing ID]]}}<!--
    -->{{#if:{{{requirement|}}}|[[Category:Quests with requirements]]|[[Category:Quests without requirements]]}}<!--
-->{{#if:{{{location|}}}|[[Category:Located in {{{location}}}]]}}<!--
-->{{#if:{{{location|}}}|[[Category:Located in {{{location}}}]]}}<!--
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>
    -->{{#if:{{{next|}}}|[[Category:Quests with Next Quests]]}}<!--
    -->{{#if:{{{prev|}}}|[[Category:Quests with Previous Quests]]}}<!--
    -->{{#if:{{{characters|}}}|{{Array|{{{characters}}}|;|[[Category:{item} Appearances]]}}|[[Category:Quest Missing Characters]]}}<!--
-->}}</includeonly><noinclude>{{Documentation|content=
{{Infobox quest
|type        = Main Quest
|location    = Farm
|description = Let's learn how to farm! Start by tilling the farm soil with a hoe, then use a seed bag on the tilled soil to grow crops. Water daily until ready to harvest. When ready, visit Sam's General Store in town to buy more seeds.
|rewards    = Coin*100
|next        = Test
|prev        = Previous
}}}}</noinclude>

Latest revision as of 03:22, 18 July 2024

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.