Template:Subpages: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (test) |
imported>Chris Day (save test) |
||
Line 11: | Line 11: | ||
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|<br><font size=1>''[[{{BASEPAGENAME}}/Draft|Draft Page]]''</font>}} | {{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/Draft|<br><font size=1>''[[{{BASEPAGENAME}}/Draft|Draft Page]]''</font>}} | ||
|- | |- | ||
{{ #ifeq: {{Subpage list|button=AAA}}| | {{ #ifeq: {{Subpage list|button=AAA}}|Default|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=A}}|{{button on}}|{{button off}}}} {{!}} <font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=A}}|{{Subpage list|button=AA}}]]</font>|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=A}}|{{subpage_list_row|{{Subpage list|button=A}}|{{Subpage list|button=AA}} }} }} }} | ||
|- | |- | ||
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=A}}| {{button on}} | {{button off}} }} |<font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=A}}|{{Subpage list|button=AA}}]]</font> | {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=A}}| {{button on}} | {{button off}} }} |<font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=A}}|{{Subpage list|button=AA}}]]</font> | ||
Line 17: | Line 17: | ||
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=B}}| {{button on}} | {{button off}} }} |<font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=B}}|{{Subpage list|button=BB}}]]</font> | {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=B}}| {{button on}} | {{button off}} }} |<font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=B}}|{{Subpage list|button=BB}}]]</font> | ||
|- | |- | ||
{{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=C}}| {{button on}} | {{button off}} }} |<font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=C}}|{{Subpage list|button=CC}}]]</font><nowiki> | {{ #ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=C}}| {{button on}} | {{button off}} }} |<font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=C}}|{{Subpage list|button=CC}}]]</font> | ||
|- | |||
{{ #ifeq: {{Subpage list|button=DDD}}|Default|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=D}}|{{button on}}|{{button off}}}} {{!}} <font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=D}}|{{Subpage list|button=DD}}]]</font>|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=D}}|{{subpage_list_row|{{Subpage list|button=D}}|{{Subpage list|button=DD}} }} }} }} | |||
|- | |||
{{ #ifeq: {{Subpage list|button=EEE}}|Default|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=E}}|{{button on}}|{{button off}}}} {{!}} <font size=1>[[{{BASEPAGENAME}}/{{Subpage list|button=E}}|{{Subpage list|button=EE}}]]</font>|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=E}}|{{subpage_list_row|{{Subpage list|button=E}}|{{Subpage list|button=EE}} }} }} }}<nowiki> | |||
</nowiki>{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=D}}|{{subpage_list_row|{{Subpage list|button=D}}|{{Subpage list|button=DD}} }} }}<nowiki> | </nowiki>{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=D}}|{{subpage_list_row|{{Subpage list|button=D}}|{{Subpage list|button=DD}} }} }}<nowiki> | ||
</nowiki>{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=E}}|{{subpage_list_row|{{Subpage list|button=E}}|{{Subpage list|button=EE}} }} }}<nowiki> | </nowiki>{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=E}}|{{subpage_list_row|{{Subpage list|button=E}}|{{Subpage list|button=EE}} }} }}<nowiki> |
Revision as of 14:09, 19 July 2007
|
Here's a test page -- see the upper right
- For discussion about Subpages, and other versions of subpages templates with examples, also see http://forum.citizendium.org/index.php/topic,1059.0.html
Placement
Use on the top of pages as an index mechanism for subpages.
Usage
{{Subpages}} |
|
| |||||||||||||||
Wikitext | Appearance | Anatomical |
---|
Parameters
None