Template:States: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:slug|{{#sub:{{SUBPAGENAME}}|0|2}}}}</includeonly> | <includeonly>{{#vardefine:slug|{{#sub:{{SUBPAGENAME}}|0|2}}}}</includeonly> | ||
< | <includeonly>{{#vardefine:dim|{{#ifeq:{{#count:{{stateDim}}|{{SUBPAGENAME}}}}|0|nolength| (with length)}}}}</includeonly> | ||
< | <includeonly>{{tag|{{#var:slug}}|states{{#var:dim}}}}[[category:{{#var:slug}}:states{{#var:dim}}]]</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template produces {{IS:Tag|states}} AND lists the pages in [[:category:states]]. If applied for all pages having a child ''states'', it should fill a complete list of elements that have this child. | This template produces {{IS:Tag|states}} AND lists the pages in [[:category:states]]. If applied for all pages having a child ''states'', it should fill a complete list of elements that have this child. |
Revision as of 16:52, 13 March 2022
Usage
This template produces <states> AND lists the pages in category:states. If applied for all pages having a child states, it should fill a complete list of elements that have this child.
|
Arguments
This template has no arguments
Examples
{{states}}
delivers
<states> plus an entry in category:states