Template:IconLink: Difference between revisions

Jump to navigation Jump to search
add class
(add nowrap)
(add class)
 
Line 9: Line 9:
| gap = {{{gap|}}}
| gap = {{{gap|}}}
| nowrap = {{{nowrap|}}}
| nowrap = {{{nowrap|}}}
| class = {{{class|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Usage: {{code|<nowiki>{{IconLink | Flourish Icon.png | Flourish }}</nowiki>}}
Usage: {{code|<nowiki>{{IconLink | Flourish Icon.png | Flourish }}</nowiki>}}
Line 102: Line 103:
"description": "If specified, will add the nowrap css style to the span.",
"description": "If specified, will add the nowrap css style to the span.",
"type": "boolean"
"type": "boolean"
},
"class": {
"description": "Any classes to add to the img"
}
}
},
},
Line 113: Line 117:
"block",
"block",
"gap",
"gap",
"nowrap"
"nowrap",
"class"
],
],
"description": "Insert a linked icon."
"description": "Insert a linked icon."
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Navigation menu