User:Permstrump/Tutorials
List and table templates
Category:List formatting and function templates
Glossary templates
Glossary template
| ||||
---|---|---|---|---|
Example: {{term|1=aspirin}} {{defn|1=A mild analgesic of the non-steroidal anti-inflammatory drug (NSAID) family...}} {{term|1=heroin}} {{term|1=diacetylmorphine |multi=y}} {{term|1=diamorpine |multi=y}} {{defn|1=A synthetic narcotic drug of the opiate family...}} {{term|1=ranitidine}} {{defn|1=An antacid of the proton pump inhibitor family...}} Result
|
Term definition
|
---|
Basic usage: {{glossary}}
{{glossary end}} Linking to the term:
|
Collapsible templates
Template:Collapse top (green box)
|
---|
Shortcut: {{cot}} Syntax: {{cot|TITLE}} {{cob}} |
Template:Collapsible list (no fill, no border)
| ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Syntax {{Collapsible list | expand = | framestyle = | titlestyle = | title = | liststyle = | hlist = | bullets = | <!-- 1 = --> <!--(First item in list; the "1 =" is usually not required)--> | <!-- 2 = --> <!--(Second item in list; ditto)--> | <!-- 3 = --> <!--(Third item in list; etc.)--> | <!-- etc --> }} Parameters
Example (no fill, no border): ETOH -- [show] >> |
Table templates
WikiTable
| ||||
---|---|---|---|---|
Syntax: {| class="wikitable" !Prose!!List with no content |- valign="top" | width="50%" | The '''[[20th-century]] [[architecture]] of [[New York City]]''' includes numerous icons of architecture, most notably its striking [[skyscrapers]]. In the first few decades of the century, the city became a center for the [[Beaux-Arts architecture|Beaux-Arts]] movement, represented by architects [[Stanford White]] and [[Carrère and Hastings]]. New York's new skyscrapers included the [[Flatiron Building]] (1902), where Fifth Avenue crosses Broadway at [[Madison Square]]; [[Cass Gilbert]]'s [[Woolworth Building]] (1913), a neo-Gothic "Cathedral of Commerce" overlooking City Hall; the [[Chrysler Building]] (1929), a pure expression of [[Art Deco]]; and the [[Empire State Building]] (1931). Modernist architect [[Raymond Hood]], and [[Lever House]] after World War II, began the clusters of "glass boxes" that transformed the classic skyline of the 1930s, culminating in the [[World Trade Center (1973–2001)|World Trade Center]] towers (1973). | '''[[20th-century]] [[architecture]] of [[New York City]]''' * [[Flatiron Building]] (1902) * [[Woolworth Building]] (1913) * [[Chrysler Building]] (1929) * [[Empire State Building]] (1931) * [[World Trade Center (1973–2001)|World Trade Center]] (1973) |} Example:
|
Long sequence with 2 columns
| ||||
---|---|---|---|---|
Syntax: {| class="wikitable" !Prose!!List |- valign="top" | width="50%" | [[Philosophy|Philosophers]] discuss the meaning, function, and possibility of offering definitions. It is typical (e.g., in [[college logic]] texts) to distinguish a number of different kinds and techniques of definition, including dictionary or [[lexical definition]], [[intensional definition]], [[extensional definition]], [[ostensive definition]], [[stipulative definition]], [[operational definition]], [[theoretical definition]], [[persuasive definition]], and [[definition by genus and difference]]. | width="50%" | [[Philosophy|Philosophers]] discuss the meaning, function, and possibility of offering definitions. It is typical (e.g., in [[college logic]] texts) to distinguish a number of different kinds and techniques of definition, including: {{col-begin}} | width="50%" align="{{{align|left}}}" valign="{{{valign|top}}}" style="border:0"| * Dictionary or [[lexical definition]] * [[Intensional definition]] * [[Extensional definition]] * [[Ostensive definition]] * [[Stipulative definition]] | width="50%" align="{{{align|left}}}" valign="{{{valign|top}}}" style="border:0"| * [[Operational definition]] * [[Theoretical definition]] * [[Persuasive definition]] * [[Definition by genus and difference]] {{col-end}} |} Example:
|
Columns without borders
| |||
---|---|---|---|
Two columns
{{colbegin}} {{lorem}} {{lorem}} {{colend}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{col-begin}} {{col-break}} {{lorem}} {{col-break}} {{lorem}} {{col-break}} {{lorem}} {{col-end}}
|
Sortable table
{{br list}}
Br separated entries/doc
| |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Usage:
Parameters: This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Permstrump in articles based on its TemplateData.
TemplateData for Permstrump Creates a <br /> delimited collection of items. Primarily for use in infoboxes, it only adds the <br /> tags where needed.
|
Talkpage templates
Image with comment templates
| ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Lists
- WP:List of discussion templates
- WP:Talk page templates
- WP:Template messages
- WP:Template namespace
- WP:Citation templates
- WP:Template messages#General
- Category:Image with comment templates