Template:For/doc
Jump to navigation
Jump to search
{{
#ifeq: Template | Template | {{ #ifeq: {{ #if: | {{{reusedemo}}} | Wiki.jriver.com }} | Wikia Templates | {{ #ifeq: For | {{ #ifeq: {{ #titleparts: For/doc | 1 | -1 }} | doc | For | For/doc }} | | :Error: {{{name}}} parameter is unused or incorrect! Please replace{{SPW{{ #if: is not on | |is not on }}{{ #ifeq: For | ¬ | | |name=For }}}}
with{{SPW{{ #if: is not on | |is not on }}|name=For}}
.
}}:{{ #switch: is not on | is on = This template or a similar one is on the Starter Pages Wikia, whence it is incorporated in every new Wikia site and can be copied to older ones. | is newer = This template is newer than a similar one on the Starter Pages Wikia. This template may therefore have bug fixes or improvements when compared to the older version.{{ #ifeq: {{ #titleparts: For/doc | 1 | 1 }} | SPW | | {{ #ifeq: {{ #titleparts: For/doc | 1 | -1 }} | doc | | }} }} | is not on = This template is not on the Starter Pages Wikia. It can be copied to other Wikia sites, but it is not included on any by default.{{ #ifeq: {{ #titleparts: For/doc | 1 | 1 }} | SPW | | {{ #ifeq: {{ #titleparts: For/doc | 1 | -1 }} | doc | | }} }} | #default = Editors have not checked whether this template is or is not on the Starter Pages Wikia.{{ #ifeq: {{ #titleparts: For/doc | 1 | 1 }} | SPW | | {{ #ifeq: {{ #titleparts: For/doc | 1 | -1 }} | doc | | }} }} }}
|
Error creating thumbnail: File missing | This template was copied from Template:For on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
{{ #ifeq: {{ #titleparts: For/doc | 1 | -1 }} | doc | | }} }}
}}
- Description
- This template is used at the top of pages for simple disambiguations. This template is based on the simple Wikipedia top link template: Wikipedia:Template:For.
- Syntax
- Type
{{#ifeq:|code|
}}{{{{#if:|{{{prefix}}}:}}for{{#if:something||<something>}}{{#if:page name||<page name>}}{{#if:optional second pagename||<optional second pagename>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}}{{#ifeq:|code|
}}
- Sample output
{{for|the help pages|Help:Contents|Help:Main Page}}
gives...- For the help pages, see Help:Contents{{#if:Help:Main Page| and Help:Main Page}}.
{{for|2=Help:Contents}}
gives...- For other uses, see Help:Contents{{#if:| and [[{{{3}}}]]}}.
- Dependencies
- This template will apply the
span
class 'dablink', if it is defined in site-wide or wiki-wide CSS. This class is usually not set in most Wikia wikis.
- See also
- {{#ifeq:|code|
}}{{{{#if:|{{{prefix}}}:}}ForMulti{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}}{{#ifeq:|code|
}} - Template:For on Wikipedia, which this template was based on.