Template:Top icon: Difference between revisions

Working on a top icon template.
No edit summary
(Working on a top icon template.)
 
(3 intermediate revisions by the same user not shown)
Line 1:
<includeonly><nowiki /><!-- This nowiki tag helps prevent whitespace at the top of articles. -->{{#tag:indicator|[[File:{{{image|{{{imagename|{{{1|}}}}}}}}}|{{#if:{{{width|}}}|{{{width}}}|20}}x{{#if:{{{height|}}}|{{{height}}}|20}}px
<templatedata>
|{{#ifeq:{{{link|+}}}|{{{link|-}}}|link={{{link}}}|{{#ifeq:{{{wikilink|+}}}|{{{wikilink|-}}}|link={{{wikilink}}}|{{#ifeq:{{{2|+}}}|{{{2|-}}}|link={{{2}}}|}}}}}}
{
|{{#if:{{{alt|}}}|alt={{{alt}}}}}
"params": {
|{{{text|{{{description|{{{3|}}}}}}}}}]]
"1": {},
|name = {{#if:{{{sortkey|}}}|{{{sortkey}}}-}}{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{id|}}}|{{{id}}}|{{{image|{{{imagename|{{{1|}}}}}}}}}}}}}}}{{Category handler
"2": {},
|user = {{{usercat|}}}
"3": {},
|main = {{{maincat|}}}
"image": {},
|subpage = {{{subpage|no}}}
"imagename": {},
|nocat = {{{nocat|}}}
"width": {},
}}</includeonly><noinclude>
"height": {},
{{Documentation}}
"link": {},
</noinclude>
"wikilink": {},
"alt": {},
"text": {},
"description": {},
"sortkey": {},
"name": {},
"id": {},
"usercat": {},
"maincat": {},
"subpage": {},
"nocat": {}
},
"format": "{{_\n| _ = _\n}}"
}
</templatedata>
78

edits