Template:Neighbor Infobox: Difference between revisions
Appearance
Added auto-pluralization for set label. Reduced size of galaxy icon |
m a workaround for the category issue, idk how else to fix it tbh |
||
| Line 69: | Line 69: | ||
Interests | Interests | ||
-->{{#if:{{{loves|}}}|{{Array|{{{loves}}}|;|[[Category:Neighbors Loving {item}]]}}}}<!-- | -->{{#if:{{{loves|}}}|{{Array|{{{loves}}}|;|[[Category:Neighbors Loving {item}]]}}}}<!-- | ||
-->{{#if:{{{likes|}}}|{{Array|{{{likes}}}|;|[[Category:Neighbors Liking {item}]]}}}}<!-- | -->{{#if:{{{likes_cat|}}}|{{Array|{{{likes_cat}}}|;|[[Category:Neighbors Liking {item}]]}}|{{#if:{{{likes|}}}|{{Array|{{{likes}}}|;|[[Category:Neighbors Liking {item}]]}}}}}}<!-- | ||
-->{{#if:{{{dislikes|}}}|{{Array|{{{dislikes}}}|;|[[Category:Neighbors Disliking {item}]]}}}}<!-- | -->{{#if:{{{dislikes|}}}|{{Array|{{{dislikes}}}|;|[[Category:Neighbors Disliking {item}]]}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||
Revision as of 18:36, 16 May 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template uses CSS found at MediaWiki:Gadget-Infobox.css.
Syntax
{{Neighbor Infobox
|name =
|subtitle =
|birthday =
|role =
|galaxy =
|loves =
|likes =
|dislikes =
|about =
}}
Example
Yunguo
No Crop Comes Easy
Profile
Birthday
September 19
Role
Cultivator
Galaxy
Likes
- Farm Decor
- Green
Dislikes
Black
About
Water crops across the planet to help them grow better.
{{Neighbor Infobox
|name = Yunguo
|subtitle = No Crop Comes Easy
|birthday = September 19
|role = Cultivator
|galaxy = Hexia
|loves = Gran'mama's Veggie Fried Rice;Bamboo Apple Slushie;Apple;Bamboo
|likes = Farm Decor;Green
|dislikes = Black
|about = Water crops across the planet to help them grow better.
}}

