Template:Scr: Difference between revisions

From Annwan’s Wiki
Jump to navigation Jump to search
Created page with "<noinclude> Usage: <pre> <nowiki>{{Scr|Script Name|Text to use}}</nowiki> </pre> The script name is case sensitive. For example: <code><nowiki>{{Scr|nahan|an-Náranc cirts}}</nowiki></code> gives {{Scr|nahan|an-Náranc cirts}} See the defined classes in Mediawiki:Common.css to see the available scripts. Category:Formatting Templates </noinclude><includeonly><span class="script-{{{1}}}">{{{2}}}</span></includeonly>"
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
See the defined classes in [[Mediawiki:Common.css]] to see the available scripts.
See the defined classes in [[Mediawiki:Common.css]] to see the available scripts.
[[Category:Formatting Templates]]
[[Category:Formatting Templates]]
</noinclude><includeonly><span class="script-{{{1}}}">{{{2}}}</span></includeonly>
</noinclude><includeonly>{{#invoke:Scripts/{{{1}}}|render|{{{2}}}|float={{{float|}}}|addclass={{{addclass|}}}}}</includeonly>

Latest revision as of 13:31, 14 April 2025

Usage:

{{Scr|Script Name|Text to use}}

The script name is case sensitive.

For example: {{Scr|nahan|an-Náranc cirts}} gives an-Náranc cirts

See the defined classes in Mediawiki:Common.css to see the available scripts.