Difference between revisions of "Template:CargoDisplayPhoto"

From Nookipedia, the Animal Crossing wiki
m
Line 5: Line 5:
 
| {{{quote|}}}
 
| {{{quote|}}}
 
{{#ifeq:{{{links|}}}|Yes|
 
{{#ifeq:{{{links|}}}|Yes|
{{!}} {{I|{{{name|}}}'s {{#switch:{{{game|}}}|Wild World|New Leaf=Pic|Pocket Camp={{#switch:{{{name|}}}|Raymond|Audie|Dom|Cyd|Judy|Megan|Reneigh|Sherb=Photo|Pic}}|New Horizons=Photo}}|{{{game|}}}|text=Photo link}}{{#ifeq:{{{game|}}}|New Horizons|<br>{{I|{{{name|}}}'s Poster|New Horizons|text=Poster link}}}}}}
+
{{!}} {{I|{{{name|}}}'s {{#switch:{{{game|}}}|Wild World|New Leaf=Pic|Pocket Camp={{#if:{{{name|}}}|{{#switch:{{{name|}}}|Raymond|Audie|Dom|Cyd|Judy|Megan|Reneigh|Sherb=Photo|#default=Pic}}}}|New Horizons=Photo}}|{{{game|}}}|text=Photo link}}{{#ifeq:{{{game|}}}|New Horizons|<br>{{I|{{{name|}}}'s Poster|New Horizons|text=Poster link}}}}}}
 
</includeonly><noinclude>[[Category:Cargo display templates]]</noinclude>
 
</includeonly><noinclude>[[Category:Cargo display templates]]</noinclude>

Revision as of 03:05, May 19, 2021