Template:Creature Infobox/doc: Difference between revisions

mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Lua|Infobox}}
{{Lua|Infobox}}
{{CSS|Gadget-Infobox}}
{{CSS|Gadget-Infobox}}
Template that creates an infobox for [[creature]]s.
Template that creates an infobox for [[Creature]]s.


==Syntax==
==Syntax==
Line 44: Line 44:


===Other parameters===
===Other parameters===
* {{F|image}} &ndash; Override the default image with a single file. Default: {{F|<name> Icon.png}}
* {{F|image}} &ndash; Override the default image with a single file. Default: {{F|((name)) Icon.png}}.
* {{F|images}} &ndash; Override the default image with multiple files and tabs.
* {{F|images}} &ndash; Override the default image with multiple files and tabs.
** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}}.


==Example==
==Example==
Line 97: Line 98:
"label": "Image",
"label": "Image",
"description": "Override the default image with a single file.",
"description": "Override the default image with a single file.",
"example": "Unknown.png",
"example": "Unknown Icon.png",
"type": "wiki-file-name",
"type": "wiki-file-name",
"default": "<name> Icon.png"
"default": "<name> Icon.png"
Line 104: Line 105:
"label": "Images",
"label": "Images",
"description": "Override the default image with multiple files and tabs.",
"description": "Override the default image with multiple files and tabs.",
"example": "Image 1.png:Tab 1 name; Image 2.png:Tab 2 name",
"example": "Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name",
"type": "content"
"type": "content"
},
},
Line 228: Line 229:
"images"
"images"
],
],
"format": "block"
"format": "{{_\n|____________ = _\n}}\n"
}
}
</templatedata>
</templatedata>