Template:Volkpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David E. Volk
(Dec 7 version of subpages)
imported>David E. Volk
(Oct 2007 version)
Line 42: Line 42:
       |{{#ifexist:{{BASEPAGENAME}} (disambiguation)
       |{{#ifexist:{{BASEPAGENAME}} (disambiguation)
           |[[Category:Dabdef Subpages]]  
           |[[Category:Dabdef Subpages]]  
           |[[Category:Definition Only]][[Category:All Content]] }}| }}
           |
:<small>''If moving a cluster see  the [http://en.citizendium.org/wiki/Special:Whatlinkshere/{{FULLPAGENAMEE}} following link] for the metadata template.''</small>[[Category:Definition Only]][[Category:All Content]] }}| }}
|{{#ifeq:{{SUBPAGENAME}}|Related Articles
|{{#ifeq:{{SUBPAGENAME}}|Related Articles
       |<!--Adds category for the stand alone subpages in this case related articles-->{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
       |<!--Adds category for the stand alone subpages in this case related articles-->{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
           |
           |
           |[[Category:Related Articles Only]][[Category:All Content]] }}
           |
:<small>''If moving a cluster see  the [http://en.citizendium.org/wiki/Special:Whatlinkshere/{{FULLPAGENAMEE}} following link] for the metadata template.''</small> [[Category:Related Articles Only]][[Category:All Content]] }}
       |{{ {{#ifexist:Template:{{BASEPAGENAME}}/Metadata
       |{{ {{#ifexist:Template:{{BASEPAGENAME}}/Metadata
         |{{#ifeq:{{localurl:{{BASEPAGENAME}}}}|{{localurl:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}
         |{{#ifeq:{{localurl:{{BASEPAGENAME}}}}|{{localurl:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}
Line 77: Line 79:
***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages.***
***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages.***


-->{{{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} |subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subpage|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|variant= {{{{BASEPAGENAME}}/Metadata|info=variant}}|abc= {{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check= {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked= {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by= {{{{BASEPAGENAME}}/Metadata|info=by}}|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3= {{{{BASEPAGENAME}}/Metadata|info=cat3}}|article url= {{{{BASEPAGENAME}}/Metadata|info=article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info=subpage url}}|cluster= {{{{BASEPAGENAME}}/Metadata|info=cluster}}|now= {{{{BASEPAGENAME}}/Metadata|info=now}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info=ToA editor3}}|date= {{{{BASEPAGENAME}}/Metadata|info=date}}|A editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|A editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}} |basepagenamee={{BASEPAGENAMEE}} |subgroup={{{{BASEPAGENAME}}/Metadata|info=sub1}} |subgroup2={{{{BASEPAGENAME}}/Metadata|info=sub2}} |subgroup3={{{{BASEPAGENAME}}/Metadata|info=sub3}} |approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}| tab1={{{{BASEPAGENAME}}/Metadata|info=tab1}}| tab2={{{{BASEPAGENAME}}/Metadata|info=tab2}}| tab3={{{{BASEPAGENAME}}/Metadata|info=tab3}}|speedydelete={{{{BASEPAGENAME}}/Metadata|info=speedydelete}} }}<!--
-->{{{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} |subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subpage|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|variant= {{{{BASEPAGENAME}}/Metadata|info=variant}}|abc= {{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check= {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked= {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by= {{{{BASEPAGENAME}}/Metadata|info=by}}|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3= {{{{BASEPAGENAME}}/Metadata|info=cat3}}|article url= {{{{BASEPAGENAME}}/Metadata|info=article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info=subpage url}}|cluster= {{{{BASEPAGENAME}}/Metadata|info=cluster}}|now= {{{{BASEPAGENAME}}/Metadata|info=now}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info=ToA editor3}}|date= {{{{BASEPAGENAME}}/Metadata|info=date}}|A editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|A editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}} |basepagenamee={{BASEPAGENAMEE}} |subgroup={{{{BASEPAGENAME}}/Metadata|info=sub1}} |subgroup2={{{{BASEPAGENAME}}/Metadata|info=sub2}} |subgroup3={{{{BASEPAGENAME}}/Metadata|info=sub3}} |approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} |background={{Subpage list|button=background}}| tab1={{{{BASEPAGENAME}}/Metadata|info=tab1}}| tab2={{{{BASEPAGENAME}}/Metadata|info=tab2}}| tab3={{{{BASEPAGENAME}}/Metadata|info=tab3}} }}<!--


***The following section specifically functions on subsubpages. For technical reasons this template is not fully function on the subsubpage talk pages.***
***The following section specifically functions on subsubpages. For technical reasons this template is not fully function on the subsubpage talk pages.***


-->{{{{ #ifexist: {{../../Metadata|info=pagename}}
-->{{{{ #ifexist: {{../../Metadata|info=pagename}}
|subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subsubpage|pagename= {{../../Metadata|info=pagename}}|variant= {{../../Metadata|info=variant}}|abc= {{../../Metadata|info=abc}}|cat_check= {{../../Metadata|info=cat_check}}|status= {{../../Metadata|info=status}}|underlinked= {{../../Metadata|info=underlinked}}|cleanup= {{../../Metadata|info=cleanup}}|by= {{../../Metadata|info=by}}|group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3= {{../../Metadata|info=cat3}}|article url= {{../../Metadata|info=article url}}|subpage url= {{../../Metadata|info=subpage url}}|cluster= {{../../Metadata|info=cluster}}|now= {{../../Metadata|info=now}}|ToA editor= {{../../Metadata|info=ToA editor}}|ToA editor2= {{../../Metadata|info=ToA editor2}}|ToA editor3= {{../../Metadata|info=ToA editor3}}|date= {{../../Metadata|info=date}}|A editor= {{../../Metadata|info=A editor}}|A editor2= {{../../Metadata|info=A editor2}}|A editor3= {{../../Metadata|info=A editor3}}|background={{Subpage list|button=background}}|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} | tab1={{../../Metadata|info=tab1}}| tab2={{../../Metadata|info=tab2}}| tab3={{../../Metadata|info=tab3}}|speedydelete={{../../Metadata|info=speedydelete}} }}{{Every page below}}</includeonly><noinclude>{{TlDoc}}</noinclude>
|subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subsubpage|pagename= {{../../Metadata|info=pagename}}|variant= {{../../Metadata|info=variant}}|abc= {{../../Metadata|info=abc}}|cat_check= {{../../Metadata|info=cat_check}}|status= {{../../Metadata|info=status}}|underlinked= {{../../Metadata|info=underlinked}}|cleanup= {{../../Metadata|info=cleanup}}|by= {{../../Metadata|info=by}}|group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3= {{../../Metadata|info=cat3}}|article url= {{../../Metadata|info=article url}}|subpage url= {{../../Metadata|info=subpage url}}|cluster= {{../../Metadata|info=cluster}}|now= {{../../Metadata|info=now}}|ToA editor= {{../../Metadata|info=ToA editor}}|ToA editor2= {{../../Metadata|info=ToA editor2}}|ToA editor3= {{../../Metadata|info=ToA editor3}}|date= {{../../Metadata|info=date}}|A editor= {{../../Metadata|info=A editor}}|A editor2= {{../../Metadata|info=A editor2}}|A editor3= {{../../Metadata|info=A editor3}}|background={{Subpage list|button=background}}|approved color={{Subpage list|button=button on A}}|not approved color={{Subpage list|button=button on NA}}|button off color={{Subpage list|button=button off}} | tab1={{../../Metadata|info=tab1}}| tab2={{../../Metadata|info=tab2}}| tab3={{../../Metadata|info=tab3}} }}{{Every page below}}</includeonly><noinclude>{{TlDoc}}</noinclude>

Revision as of 12:16, 20 October 2009

This documentation is transcluded from Template:Volkpages/doc (edit | history)

This is a template I am currently testing.
Documentation or speedydelete to follow in due course (and if I haven't done this within a week from now, please remind me — thanks!).
David E. Volk 17:53, 20 October 2009 (UTC)

Usage

Place instructions here. Any example code should go in tags like this ..., putting the code where the dots are.

Example

Put an example of the code inside the following tags, where the dots are :

...

Now put the same example code here, without the

tags. This time it will be interpreted to give the normal result of including this code on a CZ page.