Difference between revisions of "Template:Ref"
From eRepublik Official Wiki
m (link correction) |
(eLinkLaw info added) |
||
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> | ||
Line 12: | Line 13: | ||
Additionally, you can use <nowiki>{{Ref|X}}</nowiki> to mark "biased" statements in articles. | 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}} | + | Use <nowiki>{{Ref|e|type|number}}</nowiki> to make links to eRepublik pages, type and number are as in {{Tl|eLink}}. |
− | + | Use <nowiki>{{Ref|eLaw|country|number}}</nowiki> to make links to eRepublik pages, country and number are as in {{Tl|eLinkLaw}} | |
+ | == Usage policies == | ||
* [[{{ns:project}}:Reference policy]] | * [[{{ns:project}}:Reference policy]] | ||
* [[{{ns:project}}:Fictional content policy]] | * [[{{ns:project}}:Fictional content policy]] | ||
Line 44: | Line 46: | ||
|e{{Ref|e|article|698200}} | |e{{Ref|e|article|698200}} | ||
|<pre>e{{Ref|e|article|698200}}</pre> | |<pre>e{{Ref|e|article|698200}}</pre> | ||
+ | |- | ||
+ | |Add a reference to a law from eRepublik | ||
+ | |e{{Ref|eLaw|Finland|160505}} | ||
+ | |<pre>e{{Ref|eLaw|Finland|160505}}</pre> | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 05:14, 15 May 2017
The code of this template is really complex, please use your sandbox before editing this template
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
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}} |