Drnorwood\sandbox: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  {{OfficeTest
  {{OfficeTest
  |name=Ministry or office's name
  |name=Test User
  |logo=The title of an uploaded image of the office's official logo here.  If none, use t-blank.gif
  |logo=SeneschalBadge.png
  |boss=The name of the current office holder.  If unfilled, leave this blank.
  |boss=Test Citizen
  |dep=The title for subordinates of the office (deputies, heralds, etc).  If none, leave this blank.
  |dep=
|depn=The names of subordinates, if any.
  |func=Test office with test job.
  |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."
  |cat=Test Category
  |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.
  |test=TxecNordselvaOfficial.jpg }}
  |test=Picture of the office holder
[[Category:Templates]]
}}
 
<noinclude>
'''This is MY sandbox!'''
'''This is MY sandbox!'''
1) I'm learning how to create templates
1) I'm learning how to create templates
2) Everything else on here is for me to play around with so I learn more.
2) Everything else on here is for me to play around with so I learn more.
{| 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="left"|'''Current Head:''' {{{boss|(Vacant)}}}
{{#if: {{{dep|}}}|{{!}}- align="left"
{{!}}'''{{{dep}}}:''' {{{depn}}} |}}
|-
|align="left"|'''Function:''' {{{func}}}
|-
|align="center" style="padding-bottom: 2em; border-style: solid; border-width: 0 0 1px 0;"|[[{{{test}}}]]
|}
<includeonly>[[Category:{{{cat|Government}}}]]</includeonly>
<noinclude>
===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>
{{OfficeTest
|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."
|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.
|test=Picture of the office holder
[[Category:Templates]]
<nowiki>}}</nowiki>
</noinclude>
</noinclude>
Image:SeneschalBadge.png|100px

Latest revision as of 16:26, 28 May 2013

Test User
SeneschalBadge.png
Current Head: Test Citizen
Function: Test office with test job.
TxecNordselvaOfficial.jpg
Picture of Test User

This is MY sandbox! 1) I'm learning how to create templates 2) Everything else on here is for me to play around with so I learn more.