Template:Unused subpages: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{subpage list|button=1C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=1A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=1A}} {{!}} <font color="darkblue" >{{subpage list|button=1B}}</font>]]}}
{| class="collapsible collapsed"  border=0 width=100%
! colspan=3 bgcolor="#dddddd" |'''Unused subpages'''
|-
|Unused subpages:<!--


}}{{#ifeq:{{subpage list|button=2C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=2A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=2A}} {{!}} <font color="darkblue" >{{subpage list|button=2B}}</font>]]}}
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=3C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=3A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=3A}} {{!}} <font color="darkblue" >{{subpage list|button=3B}}</font>]]}}
-->{{#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>


}}{{#ifeq:{{subpage list|button=4C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=4A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=4A}} {{!}} <font color="darkblue" >{{subpage list|button=4B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=5C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=5A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=5A}} {{!}} <font color="darkblue" >{{subpage list|button=5B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=6C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=6A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=6A}} {{!}} <font color="darkblue" >{{subpage list|button=6B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=7C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=7A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=7A}} {{!}} <font color="darkblue" >{{subpage list|button=7B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=8C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=8A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=8A}} {{!}} <font color="darkblue" >{{subpage list|button=8B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=9C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=9A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=9A}} {{!}} <font color="darkblue" >{{subpage list|button=9B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=10C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=10A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=10A}} {{!}} <font color="darkblue" >{{subpage list|button=10B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=11C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=11A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=11A}} {{!}} <font color="darkblue" >{{subpage list|button=11B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=12C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=12A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=12A}} {{!}} <font color="darkblue" >{{subpage list|button=12B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=13C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=13A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=13A}} {{!}} <font color="darkblue" >{{subpage list|button=13B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=14C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=14A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=14A}} {{!}} <font color="darkblue" >{{subpage list|button=14B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=15C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=15A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=15A}} {{!}} <font color="darkblue" >{{subpage list|button=15B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=16C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=16A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=16A}} {{!}} <font color="darkblue" >{{subpage list|button=16B}}</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>


}}{{#ifeq:{{subpage list|button=17C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=17A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=17A}} {{!}} <font color="darkblue" >{{subpage list|button=17B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=18C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=18A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=18A}} {{!}} <font color="darkblue" >{{subpage list|button=18B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=19C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=19A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=19A}} {{!}} <font color="darkblue" >{{subpage list|button=19B}}</font>]]}}
</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>


}}{{#ifeq:{{subpage list|button=20C}}|||{{#ifexist:{{BASEPAGENAME}}/{{subpage list|button=20A}}| |- [[{{BASEPAGENAME}}/{{subpage list|button=20A}} {{!}} <font color="darkblue" >{{subpage list|button=20B}}</font>]]}}}}
</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