Difference between revisions of "Template:Ref"

From eRepublik Official Wiki
Jump to: navigation, search
m (link correction)
m (No longer complex)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
|X={{Template:Ref/X}}
 
|X={{Template:Ref/X}}
 
|e={{eLink|{{{2|}}}|{{{3|}}}|4={{{4|1}}}}}
 
|e={{eLink|{{{2|}}}|{{{3|}}}|4={{{4|1}}}}}
 +
|eLaw={{eLinkLaw|{{{2|}}}|{{{3|}}}|}}
 
|#default=[{{{1}}}]
 
|#default=[{{{1}}}]
 
}}</sup></includeonly><noinclude>
 
}}</sup></includeonly><noinclude>
{{Complex}}
+
{{Documentation}}
 
+
Use <nowiki>{{Ref|LINK}}</nowiki> to link to a source. Use '''?''' or '''!''' instead of '''LINK''' to use the appropriate "reference needed" or "fictional content" references.
+
 
+
Additionally, you can use <nowiki>{{Ref|X}}</nowiki> to mark "biased" statements in articles.
+
 
+
Use <nowiki>{{Ref|e|type|number}}</nowiki> to make links to eRepublik pages, type and number are as in {{Tl|eLink}}
+
 
+
== Usage policies ==
+
 
+
* [[{{ns:project}}:Reference policy]]
+
* [[{{ns:project}}:Fictional content policy]]
+
 
+
== Examples ==
+
{| class="wikitable"
+
!Use
+
!Example
+
!Code
+
|-
+
|Add a reference to an external site
+
|a{{Ref|http://www.google.com}}
+
|<pre>a{{Ref|http://www.google.com}}</pre>
+
|-
+
|Add a question mark: reference missing
+
|b{{Ref|?}}
+
|<pre>b{{Ref|?}}</pre>
+
|-
+
|Add an exclamation mark: fictional sentence
+
|c{{Ref|!}}
+
|<pre>c{{Ref|!}}</pre>
+
|-
+
|Add an X: non-neutral statement
+
|d{{Ref|X}}
+
|<pre>d{{Ref|X}}</pre>
+
|-
+
|Add a reference from eRepublik
+
|e{{Ref|e|article|698200}}
+
|<pre>e{{Ref|e|article|698200}}</pre>
+
|}
+
 
</noinclude>
 
</noinclude>

Latest revision as of 10:01, 27 July 2021

[edit] [purge]

Documentation

Use {{Ref|LINK}} to link to a source. Use ? or ! instead of LINK to use the appropriate "reference needed" or "fictional content" references.

Additionally, you can use {{Ref|X}} to mark "biased" statements in articles.

Use {{Ref|e|type|number}} to make links to eRepublik pages, type and number are as in {{eLink}}.

Use {{Ref|eLaw|country|number}} to make links to eRepublik pages, country and number are as in {{eLinkLaw}}

Usage policies

Auxiliary templates

This template uses the following templates to do its work, see their documentation for more information:

Examples

Use Example Code
Add a reference to an external site a[1]
a{{Ref|http://www.google.com}}
Add a question mark: reference missing b[?]
b{{Ref|?}}
Add an exclamation mark: fictional sentence c[!]
c{{Ref|!}}
Add an X: non-neutral statement dbiased
d{{Ref|X}}
Add a reference from eRepublik e[2]
e{{Ref|e|article|698200}}
Add a reference to a law from eRepublik e[3]
e{{Ref|eLaw|Finland|160505}}