Template:Unused subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(add back)
imported>Chris Day
(add back header)
Line 1: Line 1:
{{#ifeq:{{subpage list|button=1A}}|Button available||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=1A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list|button=1A}} {{!}} <font color="darkblue" >{{subpage list|button=1B}}</font>]]}} }}<nowiki>
:Unused subpages:<!--
 
Comment on code below.: 
The first "if equal" checks if the C value in the subpage list is empty.  These buttons are not consider functional and not listed as unused.
The "if exist" determines if the subpage already exists, if so, it is not included in the list of unused subpages.
 
-->{{#ifeq:{{subpage list|button=1A}}|Button available||{{#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=2A}}|Button available||{{#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=2A}}|Button available||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=2A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list|button=2A}} {{!}} <font color="darkblue" >{{subpage list|button=2B}}</font>]]}} }}<nowiki>

Revision as of 10:45, 30 July 2007