Difference between revisions of "Template:E+ icon"
From Nookipedia, the Animal Crossing wiki
(Icon now links to page indicated by link parameter. Made a note about Bob being the default.) |
Trig Jegman (talk | contribs) m |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[File:{{{1| | + | {{#if:{{{1|}}}|[[File:{{{1|}}} DnMe+ Minigame.png|link={{{link|{{{1|}}}}}}]] [[{{#if:{{{link|}}}|{{{link|}}}|{{{1|}}}}}|{{{name|{{{1|}}}}}}]]{{#if:{{{nb|}}}||<br>}}|[[File:DnMe+ Logo Cutout.png|x{{{size|12}}}px|link=]]}}<noinclude> |
==Usage== | ==Usage== | ||
+ | <pre>{{E+ icon}}</pre> | ||
+ | Template generates an {{E+ icon}} icon by default. | ||
<pre>{{E+ icon|Bob}}</pre> | <pre>{{E+ icon|Bob}}</pre> | ||
− | + | A villager's name can be passed in as the first parameter to generate their corresponding icon, followed by their linked name. Example: {{E+ icon|Bob}} | |
==Notes== | ==Notes== | ||
− | * The | + | * The {{c|size}} parameter can be used to change the e+ icon's size. The default size is x12px. The size of the character icons cannot be changed, and vary in width from 12-16px. |
− | * The | + | * The {{c|link}} parameter can be used to change the destination link. |
− | * The | + | * The {{c|name}} parameter can be used to change the display text for the link. |
==Example== | ==Example== | ||
<pre>{{E+ icon|Carmen|link=Carmen (mouse)|name=This is a link to Carmen's page}}</pre> | <pre>{{E+ icon|Carmen|link=Carmen (mouse)|name=This is a link to Carmen's page}}</pre> | ||
− | Produces: {{E+ icon|Carmen|link=Carmen (mouse)|name=This is a link to Carmen's page}}</noinclude> | + | Produces: {{E+ icon|Carmen|link=Carmen (mouse)|name=This is a link to Carmen's page}} |
+ | [[Category:Formatting templates]] | ||
+ | </noinclude> |
Latest revision as of 00:45, November 16, 2022
Usage
{{E+ icon}}
Template generates an icon by default.
{{E+ icon|Bob}}
A villager's name can be passed in as the first parameter to generate their corresponding icon, followed by their linked name. Example: Bob
Notes
- The
size
parameter can be used to change the e+ icon's size. The default size is x12px. The size of the character icons cannot be changed, and vary in width from 12-16px. - The
link
parameter can be used to change the destination link. - The
name
parameter can be used to change the display text for the link.
Example
{{E+ icon|Carmen|link=Carmen (mouse)|name=This is a link to Carmen's page}}
Produces: This is a link to Carmen's page