Template:Brand: Difference between revisions
From Inkipedia, the Splatoon wiki
(Added text parameter) |
(Making Link param editable, updating amiibo example to match.) |
||
Line 1: | Line 1: | ||
<includeonly>{{ImageLabel|Brand_{{{1}}}.png|{{if||{{{text|}}}|{{{text}}}|{{#ifeq:{{{icononly|}}}|true||[[{{{1}}}]]}}}}|size={{{size|30px}}}|link={{{1}}}|width={{{width|auto}}}|align={{{align|left}}}}}</includeonly><noinclude> | <includeonly>{{ImageLabel|Brand_{{{1}}}.png|{{if||{{{text|}}}|{{{text}}}|{{#ifeq:{{{icononly|}}}|true||[[{{{1}}}]]}}}}|size={{{size|30px}}}|link={{if||{{{link|}}}|{{{link}}}|{{{1}}}}}|width={{{width|auto}}}|align={{{align|left}}}}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Line 7: | Line 7: | ||
'''Optional Parameters:''' | '''Optional Parameters:''' | ||
*''size'' - If present, the size parameter for the <nowiki>[[File]]</nowiki> element. | *''size'' - If present, the size parameter for the <nowiki>[[File]]</nowiki> element. | ||
*''text'' - If present, replaces the default | *''text'' - If present, replaces the default link text with the specified text. Overrides icononly. | ||
*''icononly'' - If present and set to "true", the text link will not appear. | *''icononly'' - If present and set to "true", the text link will not appear. | ||
== Examples == | == Examples == | ||
{{Brand|amiibo}} | {{Brand|amiibo|link=amiibo (brand)|text=[[amiibo (brand)|amiibo]]}} | ||
{{Brand|Cuttlegear}}<br /> | {{Brand|Cuttlegear}}<br /> | ||
{{Brand|Famitsu}}<br /> | {{Brand|Famitsu}}<br /> |
Revision as of 03:59, 12 June 2016
Usage
{{Brand|brand}}
- brand - The full name of the Brand, such as "Splash Mob"
Optional Parameters:
- size - If present, the size parameter for the [[File]] element.
- text - If present, replaces the default link text with the specified text. Overrides icononly.
- icononly - If present and set to "true", the text link will not appear.
Examples
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel
Template:ImageLabel