Difference between revisions of "Template:Importance example/doc"

From blackwiki
Jump to navigation Jump to search
imported>ILIL
(Created page with '{{Documentation subpage}} An inline variant of {{Tlx|Refexample}}. == See also == * {{Tl|Irrelevant citation}} * {{tl|Importance inline}} * {{Tl|Relevance inli...')
 
imported>ILIL
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
  
An inline variant of {{Tlx|Refexample}}.
+
==Usage==
 +
This [[Wikipedia:Template messages|template]] is an inline variant of {{Tlx|Refexample}}. It is used in articles to identify an example that has one or more [[Wikipedia:Citing sources|inline citations]] but which fall under [[Template:Refexample#Self-sourcing|self-sourcing examples]] in popular culture. It produces a superscripted notation like the following:
 +
{{divbox|1=white|3=
 +
Psychedelic rock is a type of rock music influenced by psychedelic drugs. Some sources consider the Doors' album ''Strange Days'' as psychedelic rock.<sup>[[#Fakeref1|[1]]][[#Fakeref2|[2]]]</sup>{{Importance-example}}
 +
}}
 +
 
 +
It can also be used like this:
 +
 
 +
::: <code></code>
 +
 
 +
The result produces:
 +
 
 +
::: ... the treaty. {{clarify span|One of the terms|reason=which one?}} of the treaty of Versailles led to ...
 +
 
 +
=== Parameters ===
 +
 
 +
There are three parameters to the template:
 +
 
 +
;{{para|text}}:The text needing clarification. This parameter is mandatory.
 +
;{{para|explain}}:Specifics explaining the clarification that is needed. If omitted, "This passage needs to be better explained" will be used. This text is shown as a [[tooltip]].
 +
;{{para|date}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}:Adds month & year to the category, as well as helping identify how long ago the template was added. If omitted, a bot will eventually add it for you.
  
 
== See also ==
 
== See also ==

Revision as of 05:52, 21 October 2016

Usage

This template is an inline variant of {{Refexample}}. It is used in articles to identify an example that has one or more inline citations but which fall under self-sourcing examples in popular culture. It produces a superscripted notation like the following:

It can also be used like this:

The result produces:

... the treaty. One of the terms[clarify] of the treaty of Versailles led to ...

Parameters

There are three parameters to the template:

|text=
The text needing clarification. This parameter is mandatory.
|explain=
Specifics explaining the clarification that is needed. If omitted, "This passage needs to be better explained" will be used. This text is shown as a tooltip.
|date=December 2025
Adds month & year to the category, as well as helping identify how long ago the template was added. If omitted, a bot will eventually add it for you.

See also