Template:Subpages: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (rv test) |
imported>Chris Day (test) |
||
Line 10: | Line 10: | ||
{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{BASEPAGENAME}}]]''' }} | {{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{BASEPAGENAME}}]]''' }} | ||
{{#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}}|Defaul|{{#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=D}}|{{subpage_list_row|{{Subpage list|button=D}}|{{Subpage list|button=DD}} }} }} }} | |||
|- | |- | ||
{{ #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> |
Revision as of 14:05, 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