Template:Office: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|-
|-
|align="left"|'''Function:''' {{{func}}}
|align="left"|'''Function:''' {{{func}}}
|}
|-
{{#if: {{{image|}}}|{{!}}-
{{#if: {{{image|}}}|{{!}}-
{{!}}align="center"{{!}}[[image:{{{image}}}{{!}}100px]]<br><small>Picture of {{{boss}}}'''</small> |}}
{{!}}align="center"{{!}}[[Image:{{{image}}}{{!}}100px]]<br><small>Picture of {{{boss}}}'''</small> |}}
|}
|}
<includeonly>[[Category:{{{cat|Government}}}]]</includeonly>
<includeonly>[[Category:{{{cat|Government}}}]]</includeonly>
<noinclude>
<noinclude>
===Usage===
===Usage===
This template is for government cabinet offices and offices of the Royal Household.  To use it, copy and paste the following code to the page, substituting in the necessary variables where indicated.<br><br>
This template is for government cabinet offices and offices of the Royal Household.  To use it, copy and paste the following code to the '''top''' of the page, substituting in the necessary variables where indicated.<br><br>
  {{Office
  {{Office
  |name=Ministry or office's name
  |name=Ministry or office's name
Line 24: Line 24:
  |img=Put image here
  |img=Put image here
  |cat=The category of office goes here.  If the page is about a Royal Household office, put "Royal."  If it is a Government office, put "Government."  The latter is the default.
  |cat=The category of office goes here.  If the page is about a Royal Household office, put "Royal."  If it is a Government office, put "Government."  The latter is the default.
|image=Picture of officeholder
  }<nowiki>}</nowiki>
  }<nowiki>}</nowiki>
[[Category:Templates]]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 10:34, 28 July 2013

{{{name}}}
T-blank.gif
Current Head: (Vacant)
Function: {{{func}}}


Usage

This template is for government cabinet offices and offices of the Royal Household. To use it, copy and paste the following code to the top of the page, substituting in the necessary variables where indicated.

{{Office
|name=Ministry or office's name
|logo=The title of an uploaded image of the office's official logo here.  If none, use t-blank.gif
|boss=The name of the current office holder.  If unfilled, leave this blank.
|dep=The title for subordinates of the office (deputies, heralds, etc).  If none, leave this blank.
|depn=The names of subordinates, if any.
|func=Write a brief description of the function of this office.  For the College of Arms, for example, you might write "To administer and advise the citizens and the King about heraldry."
|img=Put image here
|cat=The category of office goes here.  If the page is about a Royal Household office, put "Royal."  If it is a Government office, put "Government."  The latter is the default.
|image=Picture of officeholder
}}