Template:PopulaceWithBadges: Difference between revisions

From An Tir Culture Wiki
Jump to navigation Jump to search
Deoradh (talk | contribs)
Created page with "<div> {| width=280 style="margin: 0 0 0.5em 1em; border-collapse:collapse; float:right; clear:right; background: #F9F9F9;" border="1" cellpadding="0" |- style="text-align:center;..."
 
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 11: Line 11:
{| style="margin:0 auto; text-align:left; background: #ffffff;"  cellpadding="2"
{| style="margin:0 auto; text-align:left; background: #ffffff;"  cellpadding="2"
|- valign=top
|- valign=top
|Resides:||{{{location}}}
|Resides:||{{{location|Not specified}}}
|- valign=top
|- valign=top
|Date Started:||{{{status}}}
|Pronouns:||{{{pronouns|Not specified}}}
|- valign=top
|- valign=top
|Awards:||<small>Visit the [[Order of Precedence]] to access a list of this person's awards.</small>
|Date Started:||{{{status|Not specified}}}
|- valign=top
|- valign=top
|Offices:||{{{offices}}}
|Awards:||[{{{oplink|No link added to}}} Order of Precedence]
|- valign=top
|Prefered Title:||{{{title|Not specified}}}
|- valign=top
|Offices:||{{{offices|Not specified}}}
|}
|}
|- style="text-align:center;"
|- style="text-align:center;"
! style="background: #ffcc00; color: #000000;" | '''Heraldry'''
! style="background: #ffcc00; color: #000000;" | '''Heraldry'''
|-
|-
| style="text-align:center; background: #ffffff;" | {{{device}}}<br><small>''{{{devicecaption}}}''</small> <br><br> {{{badge1}}} {{{badge2}}} {{{badge3}}} {{{badge4}}} {{{badge5}}} {{{badge6}}}
| style="text-align:center; background: #ffffff;" | {{{device | No device image added}}}<br><small>''{{{devicecaption|No device description}}}''</small> <br><br>  
|-
|{{#if:{{{badge1|}}} | - valign=top }}
|{{#if:{{{badge1|}}} | {{{badge1}}}<small>'' <br> {{{badge1caption| }}}''</small> }}
|-
|{{#if:{{{badge2|}}} | - valign=top }}
|{{#if:{{{badge2|}}} | {{{badge2}}}<small>'' <br> {{{badge2caption| }}}''</small> }}
|-
|{{#if:{{{badge3|}}} | - valign=top }}
|{{#if:{{{badge3|}}} | {{{badge3}}}<small>'' <br> {{{badge3caption| }}}''</small> }}
|-
|{{#if:{{{badge4|}}} | - valign=top }}
|{{#if:{{{badge4|}}} | {{{badge4}}}<small>'' <br> {{{badge4caption| }}}''</small> }}
|-
|{{#if:{{{badge5|}}} | - valign=top }}
|{{#if:{{{badge5|}}} | {{{badge5}}}<small>'' <br> {{{badge5caption| }}}''</small> }}
|-
|{{#if:{{{badge6|}}} | - valign=top }}
|{{#if:{{{badge6|}}} | {{{badge6}}}<small>'' <br> {{{badge6caption| }}}''</small> }}
|}
|}
</div>
</div>
[[Category:People]]
[[Category:People]]
<noinclude>
<pre>
== Usage ==
To use this template, you have the template name, and then a series of vertical pipes "|" separating each parameter name, with an equals sign, followed by what you want to pass to that parameter. All of that should be enclosed in double curly brackets. For example:
{{PopulaceWithBadges
| photo = [[File:Your_File_Name_Here.jpg|300px]]
| photocaption = Your caption for your photo
| location = where you are located
| pronouns = your pronouns
| status = Date you first joined the SCA
| oplink = url to your OP entry
| title = Your preferred title(s)
| offices = Any offices you hold, if none leave blank
| device = [[File:Your_Device_File_Name.gif|300px]]
| devicecaption = Heraldic blazon for your device
|badge1 = [[File:Your_File_Name_Here.jpg|300px]]
| badge1caption= Your caption for your badge
|badge2 = [[File:Your_File_Name_Here.jpg|300px]]
| badge2caption= Your caption for your badge
|badge3 = [[File:Your_File_Name_Here.jpg|300px]]
| badge3caption= Your caption for your badge
|badge4 = [[File:Your_File_Name_Here.jpg|300px]]
| badge4caption= Your caption for your badge
|badge5 = [[File:Your_File_Name_Here.jpg|300px]]
| badge5caption= Your caption for your badge
}}
You can remove anything after the equals on a line to blank it out, or remove the whole line if unneeded.
Note: The "|300px" portion of the image links is to scale the images to 300 pixels, the size of the template.
</pre>
</noinclude>

Latest revision as of 13:20, 21 August 2025

Photo
{{{photo}}}
{{{photocaption}}}
Information
Resides: Not specified
Pronouns: Not specified
Date Started: Not specified
Awards: [No link added to Order of Precedence]
Prefered Title: Not specified
Offices: Not specified
Heraldry
No device image added
No device description

== Usage ==
To use this template, you have the template name, and then a series of vertical pipes "|" separating each parameter name, with an equals sign, followed by what you want to pass to that parameter. All of that should be enclosed in double curly brackets. For example:

{{PopulaceWithBadges 
| photo = [[File:Your_File_Name_Here.jpg|300px]] 
| photocaption = Your caption for your photo 
| location = where you are located 
| pronouns = your pronouns 
| status = Date you first joined the SCA 
| oplink = url to your OP entry 
| title = Your preferred title(s) 
| offices = Any offices you hold, if none leave blank 
| device = [[File:Your_Device_File_Name.gif|300px]] 
| devicecaption = Heraldic blazon for your device 
|badge1 = [[File:Your_File_Name_Here.jpg|300px]]
| badge1caption= Your caption for your badge
|badge2 = [[File:Your_File_Name_Here.jpg|300px]]
| badge2caption= Your caption for your badge
|badge3 = [[File:Your_File_Name_Here.jpg|300px]]
| badge3caption= Your caption for your badge
|badge4 = [[File:Your_File_Name_Here.jpg|300px]]
| badge4caption= Your caption for your badge
|badge5 = [[File:Your_File_Name_Here.jpg|300px]]
| badge5caption= Your caption for your badge
}}

You can remove anything after the equals on a line to blank it out, or remove the whole line if unneeded. 
Note: The "|300px" portion of the image links is to scale the images to 300 pixels, the size of the template.