Difference between revisions of "Template:Acronym"

From Casio Universal Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|<span style="font-family:monospace;font-weight:bold;font-size:small;font-style:normal;"><abbr {{#if:{{{discreteMode|}}}|style="borde...")
 
 
Line 4: Line 4:
  
 
To use the template, enter this code in the page:
 
To use the template, enter this code in the page:
<pre>{{Acronyme|yourAcronym|yourDefinition}}</pre>
+
<pre>{{Acronym|yourAcronym|yourDefinition}}</pre>
Result of {{Acronyme|yourAcronym|yourDefinition}} in a sentence
+
Result of {{Acronym|yourAcronym|yourDefinition}} in a sentence
  
== discrete Acronyme ==
+
== discrete Acronym ==
 
In a page where the acronym concerned appears several times, it's better now to not underlined word each time. To avoid this, use the template acronym normally the first time, and for all other times, add the parameter "discreteMode=On" in this template:
 
In a page where the acronym concerned appears several times, it's better now to not underlined word each time. To avoid this, use the template acronym normally the first time, and for all other times, add the parameter "discreteMode=On" in this template:
<pre>{{Acronyme|yourAcronym|yourDefinition|discreteMode=On}}</pre>
+
<pre>{{Acronym|yourAcronym|yourDefinition|discreteMode=On}}</pre>
Result of {{Acronyme|yourAcronym|yourDefinition|discreteMode=On}} in a sentence
+
Result of {{Acronym|yourAcronym|yourDefinition|discreteMode=On}} in a sentence
 
</noinclude>
 
</noinclude>

Latest revision as of 12:27, June 13, 2012

This template allows you to define an acronym without using parenthesis, the user has just put his mouse over the acronym for that it gives his definition:CUW

Utilisation

To use the template, enter this code in the page:

{{Acronym|yourAcronym|yourDefinition}}

Result of yourAcronym in a sentence

discrete Acronym

In a page where the acronym concerned appears several times, it's better now to not underlined word each time. To avoid this, use the template acronym normally the first time, and for all other times, add the parameter "discreteMode=On" in this template:

{{Acronym|yourAcronym|yourDefinition|discreteMode=On}}

Result of yourAcronym in a sentence