Template:Top icon: Difference between revisions

Working on a top icon template.
No edit summary
(Working on a top icon template.)
 
(4 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
<noinclude>
|{{#ifeq:{{{link|+}}}|{{{link|-}}}|link={{{link}}}|{{#ifeq:{{{wikilink|+}}}|{{{wikilink|-}}}|link={{{wikilink}}}|{{#ifeq:{{{2|+}}}|{{{2|-}}}|link={{{2}}}|}}}}}}
<templatedata>
|{{#if:{{{alt|}}}|alt={{{alt}}}}}
{
|{{{text|{{{description|{{{3|}}}}}}}}}]]
"params": {
|name = {{#if:{{{sortkey|}}}|{{{sortkey}}}-}}{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{id|}}}|{{{id}}}|{{{image|{{{imagename|{{{1|}}}}}}}}}}}}}}}{{Category handler
"1": {},
|user = {{{usercat|}}}
"2": {},
|main = {{{maincat|}}}
"3": {},
|subpage = {{{subpage|no}}}
"image": {},
|nocat = {{{nocat|}}}
"imagename": {},
}}</includeonly><noinclude>
"width": {},
{{Documentation}}
"height": {},
"link": {},
"wikilink": {},
"alt": {},
"text": {},
"description": {},
"sortkey": {},
"name": {},
"id": {},
"usercat": {},
"maincat": {},
"subpage": {},
"nocat": {}
},
"format": "{{_\n| _ = _\n}}"
}
</templatedata>
</noinclude>
78

edits