Template:Content description: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
{{!}} {{{image{{#var:key}}|}}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} style="text-align:left"{{!}}{{{description{{#var:key}}|}}} | {{!}} {{{image{{#var:key}}|}}} {{!}}{{!}} {{#var:value}} {{!}}{{!}} style="text-align:left"{{!}}{{{description{{#var:key}}|}}} | ||
}} | }} | ||
{{#ifeq:{{{wikitable}}}|y|{{!}}}|}}</includeonly><noinclude>This template establishes a consistent format for displaying a list of subjects on a game page and their respective descriptions. | {{#ifeq:{{{wikitable}}}|y|{{!}}}|}}</includeonly><noinclude>This template establishes a consistent format for displaying a list of subjects on a game page and their respective descriptions. If you also want to list where something appears first and last, see {{tem|content appearances}}. | ||
== Usage == | == Usage == |
Revision as of 16:43, February 1, 2024
This template establishes a consistent format for displaying a list of subjects on a game page and their respective descriptions. If you also want to list where something appears first and last, see {{content appearances}}.
Usage
The syntax is as follows:
{{content description |image1= |name1= |description1= }}
This works for any amount of numbered image
/name
/description
parameters.
Additionally, if the value of dk
is set to y
, then the dktable-brown
class is used instead of the standard wikitable. Granted, wikitable
must be set to y
to use this as a standalone wikitable rather than as rows within a wikitable.