Template:Subpages9: Difference between revisions
imported>Chris Day (code getting a bit bloated but good demo for discussion) |
imported>Chris Day No edit summary |
||
Line 30: | Line 30: | ||
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"| | |style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"| | ||
|- | |- | ||
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} | {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}} }} {{!}}} {{approved3|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|status= {{{{BASEPAGENAME}}/Info|info=status}}|editor= {{{{BASEPAGENAME}}/Info|info=A editor}}|editor2= {{{{BASEPAGENAME}}/Info|info=A editor2}}|editor3= {{{{BASEPAGENAME}}/Info|info=A editor3}}}}| {{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Construction2}} | ||
}}{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|{{#ifeq:{{NAMESPACE}}|Talk||{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Draft header}}{{Checklist3|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|status= {{{{BASEPAGENAME}}/Info|info=status}} }} }} | }}{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|{{#ifeq:{{NAMESPACE}}|Talk||{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Draft header}}{{Checklist3|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|status= {{{{BASEPAGENAME}}/Info|info=status}} }} }} | ||
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/Unused|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} | }}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/Unused|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{!}}} {{Unused subpages}} | ||
}}{{ #ifeq: {{NAMESPACE}}:{{BASEPAGENAME}}|Talk:{{BASEPAGENAME}}| {{ #ifeq: {{SUBPAGENAME}}|Draft|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Checklist2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Info|info=cat_check}}|status = {{{{BASEPAGENAME}}/Info|info=status}}|underlinked = {{{{BASEPAGENAME}}/Info|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Info|info=cleanup}}|by = {{{{BASEPAGENAME}}/Info|info=by}} }} }} | }}{{ #ifeq: {{NAMESPACE}}:{{BASEPAGENAME}}|Talk:{{BASEPAGENAME}}| {{ #ifeq: {{SUBPAGENAME}}|Draft|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Checklist2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Info|info=cat_check}}|status = {{{{BASEPAGENAME}}/Info|info=status}}|underlinked = {{{{BASEPAGENAME}}/Info|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Info|info=cleanup}}|by = {{{{BASEPAGENAME}}/Info|info=by}} }} }} |
Revision as of 19:08, 27 July 2007
Placement
Use on the top of pages as an index mechanism for subpages.
Usage
See example on Chiropractic an approved article. See New York City an article that is not currently approved.
Wikitext | ||
---|---|---|
{{Subpages9}} | ||
Appearance | ||
{{#ifeq:Subpages9|Subpages9|{{#ifeq:Template|Talk||{{#ifeq:Template|Template||Template:Cell styleTemplate:Construction2
{{#ifeq:Subpages9 |Subpages9/Unused| |
|