Difference between revisions of "Template:Forum/header"
m (WikiSwitch Page clone from w:c:ghostintheshell:Template:Forumheader.) |
Dinoguy1000 (talk | contribs) (merge in code from w:c:starter:Template:Forumheader and w:c:anime:Template:Forumheader + some (more) code cleanup/spinning of my own) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{AutoTemplate}} | + | <noinclude> |
− | </noinclude> | + | {{AutoTemplate}} |
− | + | </noinclude><div class="forumheader">'''Forums:''' [[Forum:Index|Index]] '''''→''''' [[Forum:{{{1}}}|{{{1}}}]] '''''→''''' {{PAGENAME}} | |
− | + | <div class="forumnewpost {{#ifeq:{{{1}}}|index|hide}}" style="float: right;">[{{fullurl:{{FULLPAGENAMEE}}|action=edit§ion=new}} http://images.wikia.com/anime/en/images/4/4e/Forum_new.gif] [{{fullurl:{{FULLPAGENAMEE}}|action=edit§ion=new}} Post]</div> | |
− | + | </div><includeonly>{{ | |
− | + | #ifeq: {{{1}}} | index | [[Category:Forums]] | [[Category:{{{1}}}]]__NEWSECTIONLINK__ | |
− | + | }}{{<!-- maintenance cats --> | |
− | + | #ifeq: {{NAMESPACE}} | {{NS:110}} | |
− | {{# | + | | <!-- page is in the Forum: namespace --> |
− | <noinclude>[[Category:Forums]]</noinclude> | + | | [[Category:Forumheader transclusions to be checked|N]]<!-- page is not in the Forum: namespace --> |
− | + | }}{{ | |
+ | #if: {{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} | ||
+ | | [[Category:Forumheader transclusions to be checked|P]]<!-- see if {{{2}}}-{{{5}}} are used anywhere and if so how --> | ||
+ | }}{{ | ||
+ | #ifeq: {{{1|¬}}} | ¬ | ||
+ | | [[Category:Forumheader transclusions to be checked|U]]<!-- {{{1}}} not used (bad for obvious reasons) --> | ||
+ | | {{ | ||
+ | #if: {{{1|}}} | ||
+ | | <!-- {{{1}}} not empty (may add a check later for nonstandard values, but for now we'll assume any value is fine) --> | ||
+ | | [[Category:Forumheader transclusions to be checked|E]]<!-- {{{1}}} empty --> | ||
+ | }} | ||
+ | }}</includeonly><noinclude> | ||
+ | [[Category:Forums]] | ||
+ | </noinclude> |
Revision as of 06:57, 11 May 2010
Forums: Index → [[Forum:{{{1}}}|{{{1}}}]] → Forum/header