Template:Unused subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(comment on code)
Line 1: Line 1:
{{subpages}}
{{subpages}}
:Unused subpages:<nowiki>
:Unused subpages:<!--


Comment on code below.:   
Comment on code below.:   
Line 6: Line 6:
The "if exist" determines if the subpage already exists, if so, it is not included in the list of unused subpages.
The "if exist" determines if the subpage already exists, if so, it is not included in the list of unused subpages.


</nowiki>{{#ifeq:{{subpage list|button=1C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=1A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list|button=1A}} {{!}} <font color="darkblue" >{{subpage list|button=1B}}</font>]]}} }}<nowiki>
-->{{#ifeq:{{subpage list|button=1C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=1A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list|button=1A}} {{!}} <font color="darkblue" >{{subpage list|button=1B}}</font>]]}} }}<nowiki>


</nowiki>{{#ifeq:{{subpage list|button=2C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=2A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list|button=2A}} {{!}} <font color="darkblue" >{{subpage list|button=2B}}</font>]]}} }}<nowiki>
</nowiki>{{#ifeq:{{subpage list|button=2C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=2A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list|button=2A}} {{!}} <font color="darkblue" >{{subpage list|button=2B}}</font>]]}} }}<nowiki>

Revision as of 11:07, 20 July 2007

The {{subpages}} template is designed to be used within article clusters and their related pages.
It will not function on Template pages.

Unused subpages: