Template:Archive nav: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Abates (talk | contribs)
m Undo revision 520722 by Abates (Talk) Oh well :P
Abates (talk | contribs)
m Oh, I see what I did wrong
Line 1: Line 1:
<includeonly>{{chapters|title=[[{{#titleparts:{{FULLPAGENAMEE}}|-1}}|{{#titleparts:{{PAGENAMEE}}|-1}}]] / [[{{#titleparts:{{FULLPAGENAMEE}}|-1}}/Archive|{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}]] &nbsp; <small><span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}|action=edit&section=0}} e]</span></small>
<includeonly>{{chapters|title=[[{{#titleparts:{{FULLPAGENAMEE}}|-1}}|{{#titleparts:{{PAGENAMEE}}|-1}}]] / [[{{#titleparts:{{FULLPAGENAMEE}}|-1}}/Archive|{{#titleparts:{{FULLPAGENAMEE}}|1|-1}}]] &nbsp; <small><span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}|action=edit&section=0}} e]</span></small>
|center=false|float=right|style=2|align=left
|center=false|float=right|style=2|align=left
|prev={{Template:Archive nav/utility|getOffsetLink={{FULLPAGENAMEE}}|offset=-1}}
|prev={{#ifeq:{{SUBPAGENAME}}|Archive1||{{Template:Archive nav/utility|getOffsetLink={{FULLPAGENAMEE}}|offset=-1}}}}
|next={{Template:Archive nav/utility|getOffsetLink={{FULLPAGENAMEE}}|offset=1}}
|next={{Template:Archive nav/utility|getOffsetLink={{FULLPAGENAMEE}}|offset=1}}
|content=<p><tt>from</tt>~{{{from|?}}}<br/>
|content=<p><tt>from</tt>~{{{from|?}}}<br/>

Revision as of 05:03, 20 November 2010

(Transcluded documentation: view)

{{Archive nav}} creates basic navigation for the archives of TFWiki.net Community Portal Discussion.

The template can be used as-is; all functions are automatic. It dynamically detects the number at the end of the page name (up to 3 digits) and will create previous/next links.

This template will produce violent and alarming rendering errors if used on a page whose title doesn't end in a number.


If you want to add meta-data about this archive to make finding stuff easier (beginning and end date, notable subjects covered) there are 3 optional parameters.

{{archive_nav
|from=May 16, 2007
|from=Mid-August, 2007
|notes=* Major discussion about a "messagebox 3.0" redesign.
* Character infobox proposal
* An '''useful''' funny/unfunny discussion (with links!)
}}


Technical notes

This Template has 2 sub-templates:


This Template's look-and-feel is laid out using the standard "chapters" nav:

Metadata

  • Designed by: User:Derik
  • Custom CSS: None
  • Date created: September 4, 2009
  • Date last modified:
  • Future issues: None anticipated