Template:Profile: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| align="center" style="border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #000; padding: 10; float:right; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; margin: 0 0 2em 2em" width=200px
{| align="center" style="padding: 10; 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>{{#if: {{{pic|}}}|<br>[[Image:{{{pic}}}{{!}}100px]]|}}
|align="center" valign="top" style="padding-bottom: 1em;"|<big><big>{{{name}}}</big></big>{{#if: {{{pic|}}}|<br>[[Image:{{{pic}}}{{!}}100px]]|}}
|-
|-
{{#if: {{{ja|}}}|{{!}}'''{{{ja}}}'''<br /><small>'''In office:'''<br />{{{d1a}}}-{{{d2a}}}<br />'''Preceded by:''' {{{n1a}}}<br />'''Followed by:''' {{{n2a}}}</small>
{{#if: {{{ja|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{ja}}}'''<br /><small>'''In office:'''<br />{{{d1a}}} - {{{d2a}}}<br />'''Preceded by:''' {{{n1a}}}<br />'''Followed by:''' {{{n2a}}}</small>
{{!}}-|}}
{{!}}-|}}
{{#if: {{{jb|}}}|{{!}}'''{{{jb}}}'''<br /><small>'''In office:'''<br />{{{d1b}}}-{{{d2b}}}<br />'''Preceded by:''' {{{n1b}}}<br />'''Followed by:''' {{{n2b}}}</small>
{{#if: {{{jb|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{jb}}}'''<br /><small>'''In office:'''<br />{{{d1b}}} - {{{d2b}}}<br />'''Preceded by:''' {{{n1b}}}<br />'''Followed by:''' {{{n2b}}}</small>
{{!}}-|}}
{{!}}-|}}
{{#if: {{{jc|}}}|{{!}}'''{{{jc}}}'''<br /><small>'''In office:'''<br />{{{d1c}}}-{{{d2c}}}<br />'''Preceded by:''' {{{n1c}}}<br />'''Followed by:''' {{{n2c}}}</small>
{{#if: {{{jc|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{jc}}}'''<br /><small>'''In office:'''<br />{{{d1c}}} - {{{d2c}}}<br />'''Preceded by:''' {{{n1c}}}<br />'''Followed by:''' {{{n2c}}}</small>
{{!}}-|}}
{{!}}-|}}
{{#if: {{{jd|}}}|{{!}}'''{{{jd}}}'''<br /><small>'''In office:'''<br />{{{d1d}}}-{{{d2d}}}<br />'''Preceded by:''' {{{n1d}}}<br />'''Followed by:''' {{{n2d}}}</small>
{{#if: {{{jd|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{jd}}}'''<br /><small>'''In office:'''<br />{{{d1d}}} - {{{d2d}}}<br />'''Preceded by:''' {{{n1d}}}<br />'''Followed by:''' {{{n2d}}}</small>
{{!}}-|}}
{{!}}-|}}
{{#if: {{{je|}}}|{{!}}'''{{{je}}}'''<br /><small>'''In office:'''<br />{{{d1e}}}-{{{d2e}}}<br />'''Preceded by:''' {{{n1e}}}<br />'''Followed by:''' {{{n2e}}}</small>
{{#if: {{{je|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{je}}}'''<br /><small>'''In office:'''<br />{{{d1e}}} - {{{d2e}}}<br />'''Preceded by:''' {{{n1e}}}<br />'''Followed by:''' {{{n2e}}}</small>
{{!}}-|}}
{{!}}-|}}
{{#if: {{{jf|}}}|{{!}}'''{{{jf}}}'''<br /><small>'''In office:'''<br />{{{d1f}}}-{{{d2f}}}<br />'''Preceded by:''' {{{n1f}}}<br />'''Followed by:''' {{{n2f}}}</small>
{{#if: {{{jf|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{jf}}}'''<br /><small>'''In office:'''<br />{{{d1f}}} - {{{d2f}}}<br />'''Preceded by:''' {{{n1f}}}<br />'''Followed by:''' {{{n2f}}}</small>
{{!}}-|}}
{{!}}-|}}
{{#if: {{{jg|}}}|{{!}}'''{{{jg}}}'''<br /><small>'''In office:'''<br />{{{d1g}}}-{{{d2g}}}<br />'''Preceded by:''' {{{n1g}}}<br />'''Followed by:''' {{{n2g}}}</small>
{{#if: {{{jg|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{jg}}}'''<br /><small>'''In office:'''<br />{{{d1g}}} - {{{d2g}}}<br />'''Preceded by:''' {{{n1g}}}<br />'''Followed by:''' {{{n2g}}}</small>
{{!}}-|}}
{{!}}-|}}
{{#if: {{{jh|}}}|{{!}}'''{{{jh}}}'''<br /><small>'''In office:'''<br />{{{d1h}}}-{{{d2h}}}<br />'''Preceded by:''' {{{n1h}}}<br />'''Followed by:''' {{{n2h}}}</small>
{{#if: {{{jh|}}}|{{!}}style="border-style: solid; border-width: 1px 0 0 0;"{{!}}'''{{{jh}}}'''<br /><small>'''In office:'''<br />{{{d1h}}} - {{{d2h}}}<br />'''Preceded by:''' {{{n1h}}}<br />'''Followed by:''' {{{n2h}}}</small>
{{!}}-|}}
{{!}}-|}}
|}<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 individual pages about people.  To use it, copy and paste the following code to the page, substituting in the necessary variables where indicated.<br><br>
  {{Profile
  {{Profile
  |name=The person's name.  Per standards, this should be written without titles or other honorifics in this infobox.  Mandatory field.
  |name=The person's name.  Per standards, this should be written without titles or other honorifics in this infobox.  Mandatory field.
Line 37: Line 37:
  |jc=A third job.  Supplement this parameter with the usual ones (n1c, n2c, d1c, d2c).  You can continue listing jobs until you reach jh.
  |jc=A third job.  Supplement this parameter with the usual ones (n1c, n2c, d1c, d2c).  You can continue listing jobs until you reach jh.
  }<nowiki>}</nowiki>
  }<nowiki>}</nowiki>
[[Category:Templates]]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 08:03, 22 July 2013

{{{name}}}

Usage

This template is for individual pages about people. To use it, copy and paste the following code to the page, substituting in the necessary variables where indicated.

{{Profile
|name=The person's name.  Per standards, this should be written without titles or other honorifics in this infobox.  Mandatory field.
|pic=The title of an image of this person.  If none is available, leave blank.
|ja=The title of the first listed office in the sidebar.  It is preferable to wikilink (e.g. Seneschal).  If left blank, will not be displayed.
|n1a=The name of the person who preceded the subject in the ja office.  It is preferable to wikilink (e.g. King Ben).
|n2a=The name of the person who followed the subject in the ja office.  It is preferable to wikilink.
|d1a=The date the person entered into the office of ja.  List the date in compact form, North American style, with the Talossa year template: mm/dd/yyyy/.
|d2a=The date the person left the office of ja.
|jb=A second job.  If none, leave blank and it will not be displayed.
|n1b=Predecessor's name of jb.
|n2b=Successor's name of jb.
|d1b=Entry into jb.
|d2b=Departure from jb.
|jc=A third job.  Supplement this parameter with the usual ones (n1c, n2c, d1c, d2c).  You can continue listing jobs until you reach jh.
}}