Template:Fact: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(improve docs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;Description
Use it for small bits needing citations. Adding this tag will add the article to [[:Category:Statements needing citations]]. See also {{t|cite}} and {{t|ref needed}}.  
:This tag adds the article to [[:Category:Statements needing citations]]. Use it for small bits needing citations and links to [[WoWWiki:Citation]]. For a more visible marker affecting larger sections, see {{t|source needed}}.


;Parameters
;Usage
:'''1=''' - ''Optional'' Reason for needing citation that will appear as a text tip when you hover over <sup>&#91;{{texttip|''citation needed''|Text tip will look like this.}}&#93;</sup> (NOTE: Please don't use HTML tags or other templates in the value of this parameter).
:1= [text] - (Optional) Reason for needing citation. Appears as a text tip when you hover over {{fact|doc=1|Text tip will look like this.}}. Note: Please don't use HTML tags or other templates in the value of this parameter.


;Usage
;Examples
<code><nowiki>{{fact}}</nowiki></code>
<pre>{{fact}}</pre>
:gives...
{{fact|doc=1}}
<sup>&#91;[[WoWWiki:Citation|{{texttip|''citation needed''|WoWWiki:Citation}}]]&#93;</sup>


<code><nowiki>{{fact|Reason for needing citation.}}</nowiki></code>
<pre>{{fact|Reason for needing citation.}}</pre>
:gives...
{{fact|doc=1|Reason for needing citation.}}
<sup>&#91;[[WoWWiki:Citation|{{texttip|''citation needed''|Reason for needing citation.}}]]&#93;</sup>




----
----
;Template
;Template
<onlyinclude><sup>&#91;[[WoWWiki:Citation|{{texttip|''citation needed''|{{{1|WoWWiki:Citation}}}}}]]&#93;</sup><includeonly>[[Category:Statements needing citations]]</includeonly></onlyinclude>
<onlyinclude><sup>&#91;[[WildStarWiki:Citation|{{Texttip|''citation needed''|{{{1|WildStarWiki:Citation}}}}}]]&#93;</sup><includeonly>{{#if:{{{doc|}}}{{#var:doc}}||[[Category:Statements needing citations]]}}</includeonly></onlyinclude>


[[Category:Article management tags|{{PAGENAME}}]][[Category:Inline templates|{{PAGENAME}}]][[ru:Шаблон:Факт]]
[[Category:Citation templates]]
<!--- Adapted from WoWWiki -->

Latest revision as of 04:22, 28 May 2014

Use it for small bits needing citations. Adding this tag will add the article to Category:Statements needing citations. See also {{cite}} and {{ref needed}}.

Usage
1= [text] - (Optional) Reason for needing citation. Appears as a text tip when you hover over [citation needed]. Note: Please don't use HTML tags or other templates in the value of this parameter.
Examples
{{fact}}

[citation needed]

{{fact|Reason for needing citation.}}

[citation needed]



Template

[citation needed]