Difference between revisions of "User:Clv309/FishInfoNH"

From Nookipedia, the Animal Crossing wiki
(Created page with "{| align="left" style="background: LightBlue; border: 2px solid Blue; width: 75%; {{roundy|30px}}" |- | style="background:Tan; padding: 10px; {{roundy|50px}};" align="center"...")
 
(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.)
 
(2 intermediate revisions by one other user not shown)
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}}}"''<br>
+
| ''''{{{quote}}}"''
 +
|''{{{catchPhrase}}}''<br>
 
*'''Size'''- {{{size}}}
 
*'''Size'''- {{{size}}}
 
*'''Habitat'''- {{{habitat}}}
 
*'''Habitat'''- {{{habitat}}}
 
*'''Season'''- {{{season}}}
 
*'''Season'''- {{{season}}}
*'''Sell Price'''- {{{sellPrice}}}
+
*'''Sell Price'''- {{{sellPrice}}} bells
 
|}<br clear=all>
 
|}<br clear=all>
 
<noinclude>
 
<noinclude>
Line 12: Line 13:
 
{{User:Clv309/FishInfoNH
 
{{User:Clv309/FishInfoNH
 
|quote = In-game quote
 
|quote = In-game quote
 +
|catchPhrase = catch phrase
 
|size = size
 
|size = size
 
|habitat = habitat
 
|habitat = habitat

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.