More actions
Created page with "<onlyinclude>{{#ifeq: {{PAGENAME}} | {{{name}}} | Category:Childhood}} {{:{{{name}}}/Description}} {{:{{{name}}}/Trait}}" |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#ifeq: {{PAGENAME}} | {{{name}}} | [[Category:Childhood]]}} | <noinclude>{{:Template:Childhood/doc}}</noinclude> | ||
<includeonly><onlyinclude>{{#ifeq: {{PAGENAME}} | {{{name}}} | [[Category:Childhood]]}} | |||
{{:{{{name}}}/Description}} | {{:{{{name}}}/Description}} | ||
{{:{{{name}}}/Trait}} | |||
{{:{{{name}}}/Trait}}</onlyinclude></includeonly> |
Latest revision as of 23:46, 25 May 2025
Usage
{{Childhood
|name=
}}
Description
Template that creates the following pages:
<page name>/Description
<page name>/Trait
Add the childhood to the Category:Childhood category.
Tip: Use {{childhood|name={{safesubst:PAGENAME}}}}
.
Example
Create a new page Bitch (url: https://rp.klanen.org/wiki/kfp/Bitch) with the following text:
{{childhood|name=Bitch}}
This will create a link to Bitch/Description and Bitch/Trait pages and most importantly add [[Category:Childhood]]
.