Template:Top icon: Difference between revisions

From OS-Tan Collections Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><nowiki /><!-- This nowiki tag helps prevent whitespace at the top of articles. -->{{#tag:indicator |[[File:{{{image|{{{imagename|}}}}}}|{{#if:{{{width|}}}|{{{width}}}|25}}x{{#if:{{{height|}}}|{{{height}}}|25}}px |{{#if:{{{link|{{{wikilink|}}}}}}|link={{{link|{{{wikilink}}}}}}}} |{{#if:{{{alt|}}}|alt={{{alt}}}}} |{{{text|{{{description|}}}}}}]] |name = {{#if:{{{sortkey|}}}|{{{sortkey}}}-}}{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{id|}}}|{{{id}}}|{{{image|{{{i...")
 
No edit summary
 
Line 5: Line 5:
  |{{{text|{{{description|}}}}}}]]
  |{{{text|{{{description|}}}}}}]]
|name = {{#if:{{{sortkey|}}}|{{{sortkey}}}-}}{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{id|}}}|{{{id}}}|{{{image|{{{imagename|}}}}}}}}}}
|name = {{#if:{{{sortkey|}}}|{{{sortkey}}}-}}{{#if:{{{name|}}}|{{{name}}}|{{#if:{{{id|}}}|{{{id}}}|{{{image|{{{imagename|}}}}}}}}}}
}}{{Category handler
|user = {{{usercat|}}}
|main = {{{maincat|}}}
|subpage = {{{subpage|no}}}
|nocat = {{{nocat|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
[[Category: Header templates]]</noinclude>
[[Category:Template]]</noinclude>

Latest revision as of 20:36, 20 December 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{Top icon
| imagename    = coat of arms or logo
| width        = image width, 25px if left blank
| wikilink     = page name
| description  = For example: "This is a Norway article. Click here for more information."
| sortkey      =
| id           = image id
| maincat      = 
| usercat      = 
| subpage      = 
| nocat        = 
}}