Template:Neighbor Infobox: Difference between revisions
Appearance
ReisuDesign (talk | contribs) Created page with "<includeonly><infobox> <title source="name"> <default>{{PAGENAME}}</default> </title> <header>{{{title}}}</header> <image source="image"> <caption source="caption-image"/> </image> <data source="birthday"> <label>Birthday</label> </data> <data source="role"> <label>Role</label> </data> <data source="planet"> <label>Planet</label> </data> </infobox><!-- -->{{Namespace|main=<!-- -->Category:Neighbors<!-- -->{{#if:{{{role|}}}|[..." |
ReisuDesign (talk | contribs) No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
<label>Role</label> | <label>Role</label> | ||
</data> | </data> | ||
<data source=" | <data source="galaxy"> | ||
<label> | <label>Galaxy</label> | ||
</data> | </data> | ||
<data source="loves"> | |||
<label>Loves</label> | |||
<format>{{Item List|{{{loves}}}|mode=br}}</format> | |||
</data> | |||
<data source="likes"> | |||
<label>Likes</label> | |||
<format>{{List|{{{likes}}}}}</format> | |||
</data> | |||
<data source="dislikes"> | |||
<label>Disikes</label> | |||
<format>{{List|{{{dislikes}}}}}</format> | |||
</data> | |||
<data source="about"> | |||
<label>About</label> | |||
<format>{{List|{{{about}}}}}</format> | |||
</data> | |||
</infobox><!-- | </infobox><!-- | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category:Neighbors]]<!-- | -->[[Category:Neighbors]]<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{galaxy|}}}|[[Category:{{{galaxy}}} Neighbors]]}}<!-- | ||
-->{{#if:{{{ | -->{{#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 21:18, 14 November 2025
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 =
|title =
|image =
|birthday =
|role =
|planet =
|likes =
}}
Sample[edit source]
{{Neighbor Infobox
|name = Yunguo
|title =
|image = Yunguo Splash Art.png
|birthday = Sep 19
|role = Life Coordinator
|planet = Hexia
|likes = Farm Decor;Green
}}