Template:Unused subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(no good reason not to include related, biblio and links here too. Also no good reason to include NAMESPACE magic word)
imported>Chris Day
No edit summary
 
(76 intermediate revisions by the same user not shown)
Line 1: Line 1:
:Unused subpages:<nowiki>
{| class="collapsible collapsed"  border=0 width=100%
! colspan=3 bgcolor="#dddddd" |'''Unused subpages'''
|-
|Unused subpages:<!--


</nowiki>{{#ifexist:{{BASEPAGENAME}}/Related| |-&nbsp;[[{{NAMESPACE}}{{BASEPAGENAME}}/Tables {{!}} <font color="darkblue" >Related</font>]]}}<nowiki>
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.


</nowiki>{{#ifexist:{{BASEPAGENAME}}/Bibliography| |-&nbsp;[[{{NAMESPACE}}{{BASEPAGENAME}}/Tables {{!}} <font color="darkblue" >Bibliography</font>]]}}<nowiki>
-->{{#ifeq:{{subpage list 2|button=1B}}||<!--If the field is not currently filled, such as for an "available button", then it will not be included in the unused list.-->
          |{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=1A}}
              | <!--Exit here if the subpage exists since it does not need to be included in the list-->
              |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=1A}} {{!}} <font color="darkblue" >{{subpage list 2|button=1A}}</font>]]}} }}<nowiki>


</nowiki>{{#ifexist:{{BASEPAGENAME}}/Links| |-&nbsp;[[{{NAMESPACE}}{{BASEPAGENAME}}/Tables {{!}} <font color="darkblue" >Links</font>]]}}<nowiki>
</nowiki>{{#ifeq:{{subpage list 2|button=2B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=2A}}| |-&nbsp;[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title={{BASEPAGENAMEE}}/{{subpage list 2|button=2A}} <font color="darkblue" >{{subpage list 2|button=2A}}</font>]}} }}<nowiki>


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


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


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


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


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


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


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


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


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


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


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


</nowiki>{{#ifexist:{{BASEPAGENAME}}/Other4| |-&nbsp;[[{{BASEPAGENAME}}/Other4 {{!}} <font color="darkblue" >Other4</font>]] }}
</nowiki>{{#ifeq:{{subpage list 2|button=14B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=14A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=14A}} {{!}} <font color="darkblue" >{{subpage list 2|button=14A}}</font>]]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list 2|button=15B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=15A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=15A}} {{!}} <font color="darkblue" >{{subpage list 2|button=15A}}</font>]]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list 2|button=16B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=16A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=16A}} {{!}} <font color="darkblue" >{{subpage list 2|button=16A}}</font>]]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list 2|button=17B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=17A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=17A}} {{!}} <font color="darkblue" >{{subpage list 2|button=17A}}</font>]]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list 2|button=18B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=18A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=18A}} {{!}} <font color="darkblue" >{{subpage list 2|button=18A}}</font>]]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list 2|button=19B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=19A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=19A}} {{!}} <font color="darkblue" >{{subpage list 2|button=19A}}</font>]]}} }}<nowiki>
 
</nowiki>{{#ifeq:{{subpage list 2|button=20B}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list 2|button=20A}}| |-&nbsp;[[{{BASEPAGENAME}}/{{subpage list 2|button=20A}} {{!}} <font color="darkblue" >{{subpage list 2|button=20B}}</font>]]}} }}
|}

Latest revision as of 13:06, 11 October 2007