Template:Adjective/doc and Template:Rep/doc: Difference between pages

From IxWiki
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
mp>PeterL
m (→‎Usage: expand)
 
Line 1: Line 1:
This template displays an adjective selected at random from this list (click "edit" button to view list).
=== Usage ===
Creates a familiar notation for party/state affiliations of U.S. [[congress]]ional representatives in the form of ([Party initial]-[state]) with appropriate linkage to relevant articles
 
Examples:
*<code><nowiki>{{rep|R|Texas}}</nowiki></code> becomes: {{rep|R|Texas}}
*<code><nowiki>{{rep|D|Illinois}}</nowiki></code> becomes: {{rep|D|Illinois}}
*<code><nowiki>{{rep|I|Vermont}}</nowiki></code> becomes: {{rep|I|Vermont}}
*<code><nowiki>{{rep|D|NJ}}</nowiki></code> becomes: {{rep|D|NJ}}
*<code><nowiki>{{rep|R|ID}}</nowiki></code> becomes: {{rep|R|ID}} (N.B. in this case the template avoids the use of the [[ID]] redirect.)


<includeonly>
<includeonly>
<!-- ADD CATEGORIES HERE -->
<!-- ADD CATEGORIES HERE -->
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:In-text templates]]
[[Category:In-text templates]]
[[Category:Random-text templates]]
</includeonly>
</includeonly>

Revision as of 05:20, 17 April 2013

Usage

Creates a familiar notation for party/state affiliations of U.S. congressional representatives in the form of ([Party initial]-[state]) with appropriate linkage to relevant articles

Examples:

  • {{rep|R|Texas}} becomes: (R-Texas)
  • {{rep|D|Illinois}} becomes: (D-Illinois)
  • {{rep|I|Vermont}} becomes: (I-Vermont)
  • {{rep|D|NJ}} becomes: (D-NJ)
  • {{rep|R|ID}} becomes: (R-ID) (N.B. in this case the template avoids the use of the ID redirect.)