Template:Smallcaps: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
en>Frietjes
Undid revision 873016043 by Godsy (talk) no discussion on the talk page
 
m 1 revision imported: Import from Wikipedia
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>ifsubst | 1=<span style="font-variant:small-caps">{{{1}}}</span> | 2=<templatestyles src="smallcaps/styles.css"/><span class="smallcaps">{{{1}}}</span> }}<noinclude>
<includeonly><span style="font-variant: small-caps">{{{1}}}</span></includeonly><noinclude>
==Description==
Template:Smallcaps is designed to allow usage of a font variant which produces letters all in "smallcaps", as used in familiar apps like MS Word, Publisher, or other common editors.
==Usage==
To use this template on a page, simply invoke the Template, and a single parameter after a | "pipe" with the text and formatting of the words to appear in the font.


<!-- Add categories and interwikis to the /doc subpage, not here! -->
The text may include wikilinks, bold, italic, etc.
{{documentation}}
 
</noinclude>
For example:
::<nowiki>The {{Smallcaps|''[[World of Greyhawk]]''}} was created by Gary Gygax.</nowiki>
 
Results in:
::The {{Smallcaps|''[[World of Greyhawk]]''}} was created by Gary Gygax.</noinclude>

Latest revision as of 11:09, 18 April 2025

Description

Template:Smallcaps is designed to allow usage of a font variant which produces letters all in "smallcaps", as used in familiar apps like MS Word, Publisher, or other common editors.

Usage

To use this template on a page, simply invoke the Template, and a single parameter after a | "pipe" with the text and formatting of the words to appear in the font.

The text may include wikilinks, bold, italic, etc.

For example:

The {{Smallcaps|''[[World of Greyhawk]]''}} was created by Gary Gygax.

Results in:

The World of Greyhawk was created by Gary Gygax.