Template:Relay: Difference between revisions

From FrathWiki
Jump to navigationJump to search
m (more description fixes)
m (more description fixes)
Line 20: Line 20:
: the relay's name. This should be the name of the relay's page on this wiki. If the relay does not have a page on this wiki, you should specify this anyway and set <tt><nowiki>{{{link}}}</nowiki></tt> to 0. If the page is not relevant to a specific relay, do not specify this — the template will default to [[Conlang relay]].
: the relay's name. This should be the name of the relay's page on this wiki. If the relay does not have a page on this wiki, you should specify this anyway and set <tt><nowiki>{{{link}}}</nowiki></tt> to 0. If the page is not relevant to a specific relay, do not specify this — the template will default to [[Conlang relay]].


{{note|1|1}}These two parameters are optional. If specified, they should be the name of a page on this wiki (if they are external links, you must set '''prevext''' and/or '''nextext''') and will be shown as a link to the left of the title. You can use this on the page of a torch to link to the previous torch.
{{note|1|1}}These two parameters are optional. If specified, they should be the name of a page on this wiki (if they are external links, you must set <tt><nowiki>{{{prevext}}}</nowiki></tt> and/or <tt><nowiki>{{{nextext}}}</nowiki></tt>) and will be shown as a link to the left of the title. You can use this on the page of a torch to link to the previous torch.


==Table of contents==
==Table of contents==


You can add a table of contents to this navbox by creating the subpage /TOC of the page you specified under the '''relay''' parameter.
You can add a table of contents to this navbox by creating the subpage /TOC of the page you specified under <tt><nowiki>{{{relay}}}</nowiki></tt>.


==Example==
==Example==

Revision as of 06:16, 11 August 2012

A navigation footer for pages related to conlang relays (including torches), including the appropriate category.

Parameters

{{{link}}}
1 if the relay's name should be a link (this is the default), 0 otherwise.
{{{next}}}
the next article1.
{{{nextext}}}
1 if {{{next}}} is an external link, 0 if it is an article on this wiki (this is the default).
{{{nextname}}}
how the link to the next article should be displayed. Defaults to {{{next}}}.
{{{prev}}}
the previous article1.
{{{prevext}}}
1 if {{{prev}}} is an external link, 0 if it is an article on this wiki (this is the default).
{{{prevname}}}
how the link to the previous article should be displayed. Defaults to {{{prev}}}.
{{{relay}}}
the relay's name. This should be the name of the relay's page on this wiki. If the relay does not have a page on this wiki, you should specify this anyway and set {{{link}}} to 0. If the page is not relevant to a specific relay, do not specify this — the template will default to Conlang relay.

^1 These two parameters are optional. If specified, they should be the name of a page on this wiki (if they are external links, you must set {{{prevext}}} and/or {{{nextext}}}) and will be shown as a link to the left of the title. You can use this on the page of a torch to link to the previous torch.

Table of contents

You can add a table of contents to this navbox by creating the subpage /TOC of the page you specified under {{{relay}}}.

Example

This is how the template looks without any parameters:

Conlang relay
Conlang relays: 1234567891011121314151617181919½202122232425
Forum relays: Conlingual Telephone (ZBB) • Conlanger's broken translation game 12 (Unilang) • Polish Conlang Relay (PFJ) • CBB Conlang Relay2345678910111213141516Audio 1 (CBB)
Other relays: First Planetpii relayInverse Relay 12Conculture Relay 1LCC2LCC3LCC4LCC5LCC6LCC7LCC8dLCCLCC10Tumblr Conlang Relay 1234
What is a relay?list of relaysall pages in this category