Template:Navbox DPL: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) m (Undo revision 14865 by Salty Nori (talk)) Tag: Undo |
Salty Nori (talk | contribs) No edit summary |
||
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=;¦ | |||
|link|#default=\n | |link|#default=\n | ||
}},{{{formatbefore|}}}{{#switch:{{{format}}} | }},{{{formatbefore|}}}{{#switch:{{{format}}} | ||
|icon=%PAGE%; | |icon=%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=}²}}{{{formatafterall|}}} | |icon=}² | ||
|card=¦show_caption=%PAGE%}²}}{{{formatafterall|}}} | |||
|noresultsfooter={{{noresultsfooter|\nNo Results}}} | |noresultsfooter={{{noresultsfooter|\nNo Results}}} | ||
|allowcachedresults=true | |allowcachedresults=true | ||
Line 38: | Line 43: | ||
|skipthispage={{{skipthispage|no}}} | |skipthispage={{{skipthispage|no}}} | ||
|ordermethod={{{ordermethod|sortkey}}} | |ordermethod={{{ordermethod|sortkey}}} | ||
}}</includeonly> | }}</includeonly><noinclude>{{Documentation|Type=Data}}</noinclude> |
Revision as of 08:13, 17 January 2024
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
Main | Sandbox | Usage |
The documentation for this template is missing. Click here to create it.