Template:Office: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
(test)
No edit summary
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #000; padding: 20;" align=right width=200px
{| align="right" style="padding: 20; float:right; margin: 0 0 2em 2em" width=200px class="info"
|align="center" valign="top" style="padding-bottom: 2em; border-style: solid; border-width: 0 0 1px 0;"|<big><big>{{{name}}}</big></big><br>[[Image:{{{logo|t-blank.gif}}}|100px]]
|align="center" valign="top" style="padding-bottom: 2em; border-style: solid; border-width: 0 0 1px 0;"|<big><big>{{{name}}}</big></big><br>[[Image:{{{logo|t-blank.gif}}}|100px]]
|-
|-
|'''Current Head:''' {{{boss|(Vacant)}}}
|align="left"|'''Current Head:''' {{{boss|(Vacant)}}}
{{#if: {{{dep|}}}|{{!}}- align="left"
{{!}}'''{{{dep}}}:''' {{{depn}}} |}}
|-
|-
|'''Function:''' {{{func}}}
|align="left"|'''Function:''' {{{func}}}
|-
{{#if: {{{image|}}}|{{!}}-
{{!}}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
  |logo=The title of an uploaded image of the office's official logo here.  If none, then it defaults to a blank shield.
  |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.
  |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."
  |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.
  |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 09: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
}}