Difference between revisions of "User:Clv309/FishInfoNH"

From Nookipedia, the Animal Crossing wiki
m
(Removed this page from the broken links category. Also the change should detect if the image exists, and if the image isn't there, it defaults to Nia.png.)
 
Line 1: Line 1:
 
{| align="left" style="background: LightBlue; border: 2px solid Blue; width: 75%; {{roundy|30px}}"
 
{| align="left" style="background: LightBlue; border: 2px solid Blue; width: 75%; {{roundy|30px}}"
 
|-
 
|-
| style="background:Tan; padding: 10px; {{roundy|50px}};" align="center" | [[File:{{PAGENAME}} NH.png]]
+
| style="background:Tan; padding: 10px; {{roundy|50px}};" align="center" | {{#ifexist:{{PAGENAME}} NH.png|[[File:{{PAGENAME}} NH.png]]|[[File:Nia.png|100px]]}}
 
| ''''{{{quote}}}"''
 
| ''''{{{quote}}}"''
 
|''{{{catchPhrase}}}''<br>
 
|''{{{catchPhrase}}}''<br>

Latest revision as of 23:20, March 7, 2021

Nia.png ''{{{quote}}}" {{{catchPhrase}}}
  • Size- {{{size}}}
  • Habitat- {{{habitat}}}
  • Season- {{{season}}}
  • Sell Price- {{{sellPrice}}} bells


{{User:Clv309/FishInfoNH
|quote = In-game quote
|catchPhrase = catch phrase
|size = size
|habitat = habitat
|season= season
|sellPrice= sell price
}}

The image will match the page name automatically. Therefore, the names of images uploaded for this template should be in the form of "File:PAGENAME (New Horizons).png", with the PAGENAME being the name of the article the template is used on.