Template:Archive nav: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Tigerpaw28 (talk | contribs)
mNo edit summary
JW (talk | contribs)
Recat'd as part of Category:Templates cleanup.
 
(15 intermediate revisions by 2 users not shown)
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={{#ifeq:{{SUBPAGENAME}}|Archive1||{{Template:Archive nav/utility|getOffsetLink={{FULLPAGENAMEE}}|offset=-1}}}}
|{{#ifeq {{#titleparts: {{FULLPAGENAME}} | | -1 }}|Archive1|prev={{Template:Archive nav/utility|getOffsetLink={{FULLPAGENAMEE}}|prev={{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/>
Line 10: Line 9:
}}{{--}}</includeonly><noinclude>{{doc}}
}}{{--}}</includeonly><noinclude>{{doc}}


[[Category:templates]]
[[Category:Wiki community page templates]]
</noinclude>
</noinclude>

Latest revision as of 17:33, 27 May 2011

(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

[edit]

This Template has 2 sub-templates:


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

Metadata

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