Difference between revisions of "Template:E+ icon"

From Nookipedia, the Animal Crossing wiki
(Creating template to display E+ icons, can be used to visually list villagers from that game and prior)
 
(Icon now links to page indicated by link parameter. Made a note about Bob being the default.)
Line 1: Line 1:
[[File:{{{1|Bob}}} DnMe+ Minigame.png|{{{size|14px}}}]]&nbsp;[[{{#if:{{{link|}}}|{{{link|}}}|{{{1|Bob}}}}}|{{{name|{{{1|Bob}}}}}}]]{{#if:{{{nb|}}}||<br>}}<noinclude>
+
[[File:{{{1|Bob}}} DnMe+ Minigame.png|{{{size|14px}}}|link={{{link|{{{1|Bob}}}}}}]]&nbsp;[[{{#if:{{{link|}}}|{{{link|}}}|{{{1|Bob}}}}}|{{{name|{{{1|Bob}}}}}}]]{{#if:{{{nb|}}}||<br>}}<noinclude>
 
==Usage==
 
==Usage==
 
<pre>{{E+ icon|Bob}}</pre>
 
<pre>{{E+ icon|Bob}}</pre>
Used to generate an icon for villagers that appeared in {{DnMe+}} or prior, followed by their linked name.
+
Used to generate an icon for villagers that appeared in {{DnMe+}} or prior, followed by their linked name. Displays Bob by default.
  
 
==Notes==
 
==Notes==

Revision as of 16:43, May 27, 2020

Bob DnMe+ Minigame.png Bob

Usage

{{E+ icon|Bob}}

Used to generate an icon for villagers that appeared in Doubutsu no Mori e+ or prior, followed by their linked name. Displays Bob by default.

Notes

  • The size parameter can be used to change the icon's size. Default is set to 14px. For reference, the width of the icons vary 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