Template:Smallcaps: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Creating template
Adding Description: and Usage: ... I'd forgotten I put this Template in!
Line 1: Line 1:
<includeonly><span style="font-variant: small-caps">{{{1}}}</span></includeonly>
<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.
 
The text may include wikilinks, bold, italic, etc.
 
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>

Revision as of 07:33, 11 April 2021

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.