Template:PartOf

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
Line 4: Line 4:
     |test={{IsNs|0}}{{IsNs|Category}}
     |test={{IsNs|0}}{{IsNs|Category}}
     |then={{if
     |then={{if
-
         |test={{hasText|Category:{{{1}}}}}
+
         |test={{hasText|Category:Part of {{{1}}}}}
         |then={{if
         |then={{if
             | test={{IsNs|Category}}
             | test={{IsNs|Category}}
             | then=__HIDDENCAT__{{if
             | then=__HIDDENCAT__{{if
                 | test={{{top|}}}
                 | test={{{top|}}}
-
                 | else=Parent is [[:Category:{{{1|}}}]].<br /><br />
+
                 | else=Parent is [[:Category:Part of {{{1|}}}]].<br /><br />
                 }}Main article is [[{{{2|}}}]].  
                 }}Main article is [[{{{2|}}}]].  
             | else={{PartOf bar|{{{1}}}}}
             | else={{PartOf bar|{{{1}}}}}
-
             }}{{?|test={{{top|}}}||[[Category:{{{1}}}]]}}
+
             }}{{?|test={{{top|}}}||[[Category:Part of {{{1}}}]]}}
         | else={{CreateCatPartOf/link|{{{1}}}}}[[Category:Articles needing PartOf category]]
         | else={{CreateCatPartOf/link|{{{1}}}}}[[Category:Articles needing PartOf category]]
         }}
         }}
Line 18: Line 18:
|else=[[Category:Articles needing PartOf parameter]]
|else=[[Category:Articles needing PartOf parameter]]
}}{{?|test={{IsNs|0}}|[[Category:All destination articles]]}}</includeonly><noinclude>
}}{{?|test={{IsNs|0}}|[[Category:All destination articles]]}}</includeonly><noinclude>
 +
 +
TEST DON'T USE
;Parameters
;Parameters

Latest revision as of 08:16, 16 February 2016


TEST DON'T USE

Parameters
1 - name of an upper level region
2 - name of the main article (only for categories)
Personal tools
advertisement
Friends of Cruisers Wiki