Template:Navbox DPL/Draft: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#DPL: |namespace= |skipthispage=no |uses={{{uses|Template:Infobox item}}} |categorymatch={{{1|{{{category|}}}}}} |category={{{2|{{{category2|}}}}}} |category={{{3|{{{category3|}}}}}} |titlematch={{{titlematch|%}}} |nottitlematch={{{nottitlematch|}}} |notcategorymatch={{{not1|}}} |notcategorymatch={{{not2|}}} |notcategorymatch={{{not3|}}} |notcategorymatch={{{not4|}}} |notcategorymatch={{{not5|}}} |notcategorymatch={{{not6|}}} |notcategorymatch={{{not7|}}}...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
|include={{#switch:{{{format}}}
|include={{#switch:{{{format}}}
     |icon=
     |icon=
    |card=
     |link|#default={ {{#replace:{{{uses|Template:Infobox item}}}|Template:}}}:name:name
     |link|#default={ {{#replace:{{{uses|Template:Infobox item}}}|Template:}}}:name:name
   }}
   }}
|format={{{formatbeforeall|}}}{{#switch:{{{format}}}
|format={{{formatbeforeall|}}}{{#switch:{{{format}}}
     |icon=²{Icon list¦mini=1¦delim=;¦note_delim=¦bullet_list=1¦prefix={{{prefix|}}}¦suffix={{{suffix|}}}¦
     |icon=²{Icon list¦mini=1¦delim=;¦note_delim=¦bullet_list=1¦prefix={{{prefix|}}}¦suffix={{{suffix|}}}¦
     |card=²{Card list¦delim=;¦note_delim=¦
     |card=²{Card list¦delim=;¦
     |link|#default=\n
     |link|#default=\n
   }},{{{formatbefore|}}}{{#switch:{{{format}}}
   }},{{{formatbefore|}}}{{#switch:{{{format}}}
     |icon=%PAGE%;
     |icon=%PAGE%;
     |card=%PAGE%
     |card=%PAGE%;
     |link|#default=*{{#if:1|[}}[%PAGE%¦²{#if:<!--this is an awkward way to escape [[-->
     |link|#default=*{{#if:1|[}}[%PAGE%¦²{#if:<!--this is an awkward way to escape [[-->
   }},{{#switch:{{{format}}}
   }},{{#switch:{{{format}}}
     |icon=
     |icon=
    |card=
     |link|#default=¦%PAGE%}²]]\n<!--(the rest of the if from before; sets link text to title (from infobox) if present, or page title otherwise)-->
     |link|#default=¦%PAGE%}²]]\n<!--(the rest of the if from before; sets link text to title (from infobox) if present, or page title otherwise)-->
   }}{{{formatafter|}}},{{#switch:{{{format}}}
   }}{{{formatafter|}}},{{#switch:{{{format}}}
     |icon=}²
     |icon=}²
     |card=}²}}{{{formatafterall|}}}
     |card=¦show_caption=%PAGE%}²}}{{{formatafterall|}}}
|noresultsfooter={{{noresultsfooter|\nNo Results}}}
|noresultsfooter={{{noresultsfooter|\nNo Results}}}
|allowcachedresults=true
|allowcachedresults=true
Line 41: Line 43:
|skipthispage={{{skipthispage|no}}}
|skipthispage={{{skipthispage|no}}}
|ordermethod={{{ordermethod|sortkey}}}
|ordermethod={{{ordermethod|sortkey}}}
}}</includeonly>
}}</includeonly><noinclude>{{Navbox crops/Draft|Spring}}</noinclude>

Latest revision as of 08:08, 17 January 2024