Template:Neighbor Infobox: Difference between revisions
Appearance
ReisuDesign (talk | contribs) No edit summary |
No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Infobox|main | ||
|kind = Neighbor | |||
|sep = , | |||
|title = {{{title|{{{name|{{PAGENAME}}}}}}}} | |||
|subtitle = {{{subtitle|}}} | |||
|image = {{#if:{{{image|}}}|[[File:{{{image}}}]]}} | |||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}|<!-- | |||
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Splash Art.png|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Splash Art.png]],}}<!-- | |||
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Render.png|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Render.png]],}}<!-- | |||
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} In-Game.png|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} In-Game.png]],}}<!-- | |||
-->[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]<!-- | |||
-->}} | |||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}|<!-- | |||
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Splash Art.png|Splash Art,}}<!-- | |||
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Render.png|Render,}}<!-- | |||
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} In-Game.png|In-Game,}}<!-- | |||
-->Icon<!-- | |||
-->}} | |||
|sections = Profile, Voice Actors | |||
|Profile_collapsible = Yes | |||
|Profile = Birthday, Role, Galaxy, Loves, Likes, Dislikes, About | |||
|Birthday = {{#if:{{{birthday|}}}|{{#formatdate:{{{birthday|}}}|mdy}}}} | |||
|Role = {{{role|}}} | |||
|Galaxy = {{#if:{{{galaxy|}}}|{{Item|{{{galaxy|}}}}}}} | |||
|Loves = {{#if:{{#explode:{{{loves}}}|;|1}}|{{Item List|{{{loves}}}}}|{{{loves|}}}}} | |||
|Likes = {{#if:{{#explode:{{{likes}}}|;|1}}|{{List|{{{likes}}}}}|{{{likes|}}}}} | |||
|Dislikes = {{#if:{{#explode:{{{dislikes}}}|;|1}}|{{List|{{{dislikes}}}}}|{{{dislikes|}}}}} | |||
|About = {{#if:{{#explode:{{{about}}}|;|1}}|{{List|{{{about}}}}}|{{{about|}}}}} | |||
|Voice Actors_collapsible = Yes | |||
|Voice Actors_collapsed = Yes | |||
|Voice Actors = English, Chinese, Japanese, Korean | |||
|English = {{{voice_en|}}} | |||
|Chinese = {{{voice_zh|}}} | |||
|Japanese = {{{voice_ja|}}} | |||
|Korean = {{{voice_ko|}}} | |||
}}<!-- | |||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category:Neighbors]]<!-- | -->[[Category:Neighbors]]<!-- | ||
Sort | |||
-->{{#if:{{{ | -->{{#if:{{{galaxy|}}}|[[Category:{{{galaxy}}} Neighbors]]}}<!-- | ||
Interests | |||
-->{{#if:{{{loves|}}}|{{Array|{{{loves}}}|;|[[Category:Neighbors Loving {item}]]}}}}<!-- | |||
-->{{#if:{{{likes|}}}|{{Array|{{{likes}}}|;|[[Category:Neighbors Liking {item}]]}}}}<!-- | |||
-->{{#if:{{{dislikes|}}}|{{Array|{{{dislikes}}}|;|[[Category:Neighbors Disliking {item}]]}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||
Latest revision as of 14:42, 21 February 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 |
Syntax[edit source]
{{Neighbor Infobox
|name =
|subtitle =
|birthday =
|role =
|galaxy =
|loves =
|likes =
|dislikes =
|about =
}}
Example[edit source]
Yunguo
No Crop Comes Easy
Profile
Birthday
September 19
Role
Cultivator
Galaxy
Loves
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.
}}
