Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Icon/doc: Difference between revisions

Template page
Casiope (talk | contribs)
Created page with "This template inserts the following: <pre>File:{{{1}}} icon.png{{!}}alt{{=}}{{{1}}}{{!}}link{{=}}{{{2|{{{1}}}}}}{{!}}[[{{{2|{{{1}}}}}}|{{{3|{{{2|{{{1}}}}}}}}}]]</pre> It has n..."
 
Casiope (talk | contribs)
mNo edit summary
Line 3: Line 3:
It has no square braces, so it could be used in galleries (with [[:wikipedia:Help:Magic words#Formatting|#tag: construction]]). Although if braces are added manually, it will produce regular linked picture without any parameters or text.
It has no square braces, so it could be used in galleries (with [[:wikipedia:Help:Magic words#Formatting|#tag: construction]]). Although if braces are added manually, it will produce regular linked picture without any parameters or text.


== Samples ==
== Example ==


<pre>
<pre>

Revision as of 17:53, 10 July 2020

This template inserts the following:

File:{{{1}}} icon.png{{!}}alt{{=}}{{{1}}}{{!}}link{{=}}{{{2|{{{1}}}}}}{{!}}[[{{{2|{{{1}}}}}}|{{{3|{{{2|{{{1}}}}}}}}}]]

It has no square braces, so it could be used in galleries (with #tag: construction). Although if braces are added manually, it will produce regular linked picture without any parameters or text.

Example

{{#tag:Gallery|
{{Icon|Cat food}}
{{Icon|Nom nom|Cat food}}
{{Icon|Nom nom|Cat food|Nom nom}}
}}

will produce

Contents