Template:Category Neighbor Preferences: Difference between revisions
Appearance
ReisuDesign (talk | contribs) Created page with "<includeonly><!-- -->{{#vardefine:page|{{{1|{{#titleparts:{{PAGENAME}}}}}}}}}<!-- -->This category displays the Neighbors that {{#switch:1 |{{#if:{{#pos:{{#var:page}}|Loving}}|1}} = love |{{#if:{{#pos:{{#var:page}}|Liking}}|1}} = like |{{#if:{{#pos:{{#var:page}}|Disliking}}|1}} = dislike }} {{Replace|{{{1|{{PAGENAME}}}}}|Neighbors {{#switch:1 |{{#if:{{#pos:{{#var:page}}|Loving}}|1}} = Loving |{{#if:{{#pos:{{#var:page}}|Liking}}|1}} = Liking |{{#if:{{#pos:{{#var:page}}..." |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
-->{{#vardefine:page|{{{1|{{#titleparts:{{PAGENAME}}}}}}}}}<!-- | -->{{#vardefine:page|{{{1|{{#titleparts:{{PAGENAME}}}}}}}}}<!-- | ||
--> | -->__HIDDENCAT__This category displays the Neighbors that {{#switch:1 | ||
|{{#if:{{#pos:{{#var:page}}|Loving}}|1}} = love | |{{#if:{{#pos:{{#var:page}}|Loving}}|1}} = love | ||
|{{#if:{{#pos:{{#var:page}}|Liking}}|1}} = like | |{{#if:{{#pos:{{#var:page}}|Liking}}|1}} = like | ||
Latest revision as of 10:42, 27 August 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 creates a hidden category for the neighbors that a character loves, likes, or dislikes, based on the category name. If no name is specified, the current page name is used.
The category is automatically added to Category:Neighbors by Preferences.
Syntax
[edit source]{{Category Neighbor Preferences|Category}}
Examples
[edit source]{{Category Neighbor Preferences|Neighbors Loving Bamboo}} yields: This category displays the Neighbors that love Bamboo.
Template Data
[edit source]Creates a hidden category displaying the neighbors that a character loves, likes, or dislikes, based on the category name, and adds it to Category:Neighbors by Preferences.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category name | 1 | The name of the category or page to use. If omitted, the current page name is used. | String | optional |