Anonymous

Template:Ref: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
1,092 bytes removed ,  23 April 2023
m
→‎top: Standardizing Maintenance Categories
No edit summary
m (→‎top: Standardizing Maintenance Categories)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{TempCounter|{{{name|}}}|{{{ref|}}}}}
<includeonly>==References==
|0=
<templatestyles src="Template:Ref/Styles.css"/>
<h2>References</h2>
<div class="zw-references">{{#tag:references|{{{1|}}}|responsive="0"}}</div></includeonly><noinclude>
<references/>
{{Documentation}}
|1={{#if:{{{name|}}}|{{#tag:ref||name={{{name|}}}}}|{{#tag:ref|{{{ref|}}}}}}}
[[Category:Formatting templates]]
|2={{#tag:ref|{{{ref|}}}|name={{{name|}}}}}
</noinclude>
}}</includeonly><noinclude>
==Purpose==
This template a tool to aid in referencing articles.
 
==Usage==
To use this template, type: <b><nowiki>{{ref|name=|ref=}}</nowiki></b>
{{Parameter|name|This is if you want to assign a name to the reference so you can use the same reference again somewhere on the same page.|Optional}}
{{Parameter|ref|This is the contents of the reference.|Optional}}
If you specify a name, but not the reference, then the template use the reference that has that same name again.
*<b><nowiki>{{ref|name=}}</nowiki></b>
If you do not specify a name, then it will be just a normal reference that can't be used again.
*<b><nowiki>{{ref|ref=}}</nowiki></b>
If you do not specify a name or a reference, the template will provide the coding to display all references above it on the page. References cannot seen without this on the page somewhere, or at least the same code there.
*<b><nowiki>{{ref}}</nowiki></b>
==See Also==
To add a references section with a scroll bar like on the page [[Gerudo]], use the [[Template:Refbar|Refbar]] template.
[[Category:Formatting Templates|R]]</noinclude>
autopatrol, Bots, curators, Administrators
42,457

edits