Template:PopulaceWithBadges: Difference between revisions

From An Tir Culture Wiki
Jump to navigation Jump to search
adding badge captions, setting badges and badge captions to default to blank - not appearing
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 26: Line 26:
! style="background: #ffcc00; color: #000000;" | '''Heraldry'''
! style="background: #ffcc00; color: #000000;" | '''Heraldry'''
|-
|-
| style="text-align:center; background: #ffffff;" | {{{device | No device image added}}}<br><small>''{{{devicecaption|No device description}}}''</small> <br><br> {{{badge1|}}}<br><small>''{{{badge1caption|}}}''</small> {{{badge2|}}}<br><small>''{{{badge2caption|}}}''</small> {{{badge3|}}}<br><small>''{{{badge3caption|}}}''</small> {{{badge4|}}}<br><small>''{{{badge1caption|}}}''</small> {{{badge5|}}}<br><small>''{{{badge5caption|}}}''</small> {{{badge6|}}}<br><small>''{{{badge6caption|}}}''</small>  
| 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.