Difference between revisions of "Template:Forum/header"
Dinoguy1000 (talk | contribs) (exclude {{Forumheader}} and any subpages transcluding it from getting maintenance cats (and the <includeonly/> is now unnecessary because of that)) |
Dinoguy1000 (talk | contribs) (track preload templates, insert a link for admins to move errant topics to the forum (hidden by default since redirect suppression is admin-only)) |
||
Line 5: | Line 5: | ||
<div class="forumnewpost {{#ifeq:{{lc:{{{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 class="forumnewpost {{#ifeq:{{lc:{{{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 style="margin-left:5em;">[[Forum:Index|Index]] '''''→''''' {{#ifeq:{{lc:{{{1}}}}}|index||[[Forum:{{{1}}}|{{{1}}}]] '''''→'''''}} {{PAGENAME}}{{#if:{{{2|}}}|<br />[[Forum:Index|Index]] '''''→''''' [[Forum:{{{2}}}|{{{2}}}]] '''''→''''' {{PAGENAME}}}}</div> | <div style="margin-left:5em;">[[Forum:Index|Index]] '''''→''''' {{#ifeq:{{lc:{{{1}}}}}|index||[[Forum:{{{1}}}|{{{1}}}]] '''''→'''''}} {{PAGENAME}}{{#if:{{{2|}}}|<br />[[Forum:Index|Index]] '''''→''''' [[Forum:{{{2}}}|{{{2}}}]] '''''→''''' {{PAGENAME}}}}</div> | ||
− | </div>{{ | + | </div><includeonly>{{ |
#ifeq: {{{1}}} | index | [[Category:Forums]] | [[Category:{{{1}}}]]__NEWSECTIONLINK__ | #ifeq: {{{1}}} | index | [[Category:Forums]] | [[Category:{{{1}}}]]__NEWSECTIONLINK__ | ||
− | }}{{ | + | }}</includeonly>{{ |
#ifeq: {{#titleparts:{{FULLPAGENAME}}|1|1}} | Template:Forumheader | #ifeq: {{#titleparts:{{FULLPAGENAME}}|1|1}} | Template:Forumheader | ||
− | | <!-- no maintenance cats for Template:Forumheader or any subtemplates --> | + | | <!-- no maintenance cats for Template:Forumheader or any subtemplates, though we are going to do a bit else here -->{{ |
+ | #switch: {{PAGENAME}} | ||
+ | | Forumheader | Forumheader/doc | Forumheader/sandbox | Forumheader/testcases = | ||
+ | | #default = [[Category:Forumheader preload templates]]<!-- keep track of the preload templates --> | ||
+ | }} | ||
| {{<!-- maintenance cats --> | | {{<!-- maintenance cats --> | ||
#ifeq: {{NAMESPACE}} | {{NS:110}} | #ifeq: {{NAMESPACE}} | {{NS:110}} | ||
| <!-- page is in the Forum: namespace --> | | <!-- page is in the Forum: namespace --> | ||
− | | [[Category:Forumheader transclusions to be checked|N]]<!-- page is not in the Forum: namespace --> | + | | [[Category:Forumheader transclusions to be checked|N]]<span class="forumheadermovetoforum" style="display: none;">[{{fullurl:Special:MovePage/{{FULLPAGENAMEE}}|wpNewTitle=Forum:{{PAGENAMEE}}&wpReason=move+to+forum&wpLeaveRedirect=0}} Move to forum]</span><!-- page is not in the Forum: namespace --> |
}}{{ | }}{{ | ||
#if: {{{3|}}}{{{4|}}}{{{5|}}} | #if: {{{3|}}}{{{4|}}}{{{5|}}} |
Revision as of 05:33, 7 July 2010
Forums:
Index → [[Forum:{{{1}}}|{{{1}}}]] → Forum/header