Difference between revisions of "Template:E+ icon"

From Nookipedia, the Animal Crossing wiki
(Updating template to display the e+ icon by default, rather than Bob. Documentation updated.)
m
 
Line 1: Line 1:
{{#if:{{{1|}}}|[[File:{{{1|}}} DnMe+ Minigame.png|link={{{link|{{{1|}}}}}}]]&nbsp;[[{{#if:{{{link|}}}|{{{link|}}}|{{{1|}}}}}|{{{name|{{{1|}}}}}}]]{{#if:{{{nb|}}}||<br>}}|[[File:E+ logo.png|x{{{size|12}}}px|link=]]}}<noinclude>
+
{{#if:{{{1|}}}|[[File:{{{1|}}} DnMe+ Minigame.png|link={{{link|{{{1|}}}}}}]]&nbsp;[[{{#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>
 
<pre>{{E+ icon}}</pre>

Latest revision as of 00:45, November 16, 2022

DnMe+ Logo Cutout.png

Usage

{{E+ icon}}

Template generates an DnMe+ Logo Cutout.png 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 DnMe+ Minigame.png 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: Carmen DnMe+ Minigame.png This is a link to Carmen's page