Editing Template:Ref
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
TEXT |
TEXT |
||
− | -->|{{{ |
+ | -->|{{#if:{{{empty|{{{E|}}}|}}}||<!-- |
+ | |||
+ | -->{{{pre|}}}<!-- |
||
+ | -->{{#switch:{{lc:{{{1}}}|}}<!-- |
||
+ | -->|a|article=[[{{{2}}}|{{{3|{{{2}}}|}}}]]<!-- |
||
+ | -->|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}<!-- |
||
+ | -->|?|wotdb|qa={{wotdb|{{{2}}}|{{{3}}}|{{{4}}}|}}<!-- |
||
+ | -->|17s|f={{17s|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- |
||
+ | -->|twg={{twg|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- |
||
+ | -->|sb|stormblessed={{sb|{{{type|1}}}={{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- |
||
+ | -->|sawiki|sa|w={{SAwiki|{{{2}}}|{{#if:{{{3|}}}|2|none}}={{{3}}}|=}}<!-- |
||
+ | -->|wp={{wp|{{{2}}}|{{{3|Wikipedia}}}|}}<!-- |
||
+ | -->|{{{1}}}<!-- |
||
+ | -->}}<!-- |
||
+ | -->{{{post|}}}<!-- |
||
+ | |||
+ | -->}}<!-- end $empty OR $E |
||
NAME |
NAME |
||
− | -->|name={{{name|{{{ |
+ | -->|name={{uc:{{{name|{{{N|<!-- |
+ | -->{{#switch:{{lc:{{{1}}}|}}<!-- |
||
⚫ | |||
− | -->| |
+ | -->|b|book={{{2}}}_{{{3}}}{{{4}}}<!-- |
+ | -->|?|wotdb|qa=?{{{2}}}.{{{3}}}<!-- |
||
+ | -->|}}<!-- |
||
− | -->}}<!-- |
+ | -->|}}}|}}}|}}<!-- |
+ | |||
⚫ | |||
+ | -->|group={{{group|{{{G|}}}|}}}<!-- |
||
+ | -->}}</includeonly><noinclude>This allows you to perumate through the reference generating templates. |
||
− | -->{{#if:{{{name|}}}{{{text|}}}||[[category: empty references]]|}}<!-- |
||
+ | To access the <code>link=</code> or <code>page=</code> parameters for {{t|17s}} and its ilk, include the <code>type=</code> parameter with the name of the parameter to pass the <code>1=<519-nightblood-and-breath/page__pid__9820#entry9820</code> parameter to. |
||
− | --></includeonly><noinclude>[[category: reference templates| ]] |
||
+ | For example to refer to a specific post on the forums: |
||
− | This template is mainly used to in definitions of the individual [[:Category: Reference templates|reference templates]], though there are a few cases where it is used directly. |
||
− | * Sometimes it is also useful to just annotate something with a reference, which this template can also be used for with the {{{text}}} parameter. |
||
− | * It is also used when another [[:Category: Reference templates|reference templates]] has been used with <code>name=X</code>, in which case that reference can be cited again with <code><nowiki>{{ref|name=X}}</nowiki></code>. |
||
+ | <code><nowiki>{{ref|17s|519-nightblood-and-breath/page__view__findpost__p__9780|About The Allmighty|type=post}}</nowiki></code> |
||
− | For most situations, however, the other reference templates should be used as they offer more structure. See [[Help:Cite]] for more details on using references. |
||
+ | {{cat|templates}} |
||
− | == Articles using Template == |
||
− | {{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}} |
||
− | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} |