Template:Main

From SPEDAS Wiki
Jump to navigation Jump to search
Main article: [[{{{1}}}]]
Template documentation (for the above template, sometimes partially or fully invisible){{#if:

| | {{#ifexist: Template:Main/doc | [view] [edit] [history] [refresh] | [create] }}

}}
{{#if:

| {{{content}}} | {{#ifexist: Template:Main/doc

|
Description
This template is used at the start of a section to link to the main article on that subject.
Syntax
Type {{#ifeq:|code|}}{{{{#if:|{{{prefix}}}:}}main{{#if:page name||page name}}{{#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|}}
Sample output
{{main|Help:Contents}} gives...
Main article: Help:Contents

ja:テンプレート:Main zh:Template:Main

|  :This template doesn't have any documentation yet! Help out by writing some. {{#ifeq: Template | Template | There may also be documentation on Wikia Templates which can be copied. }}{{#ifeq: Template:Main | Template:Documentation/preload | | }} }}

}}
{{#if:

| Edit this page to change the above text. (What is this?) | {{#ifexist: Template:Main/doc | The above text is transcluded from Template:Main/doc; you can change it or view its history. (How does this work?) | This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?) }} }}
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's {{#ifexist: Template:Main/sandbox | sandbox (edit | diff) | sandbox (create | mirror) }} and {{#ifexist: Template:Main/testcases | testcases (edit) | testcases (create) }} pages.
{{#if:

| | Please add categories and interwikis to {{#ifexist: Template:Main/doc | Template:Main/doc | Template:Main/doc }}.

}} (View all subpages of this page.)