Template:PersonBadges: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude> Displays a floating badge panel in the upper right of a person's page. Call with named parameters for each badge the person has earned, e.g.: <code><nowiki>{{PersonBadges|rotary=1|smith_family=1}}</nowiki></code> </noinclude><includeonly>{{#if: {{{rotary|}}} {{{smith_family|}}} {{{veteran|}}} {{{founding_member|}}} | <div class="person-badges" style="float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em; border: 1px solid #aaa; background: #f9f9f9;..." |
No edit summary |
||
| Line 6: | Line 6: | ||
| <div class="person-badges" style="float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em; border: 1px solid #aaa; background: #f9f9f9; font-size: 0.85em; text-align: center; line-height: 1.4;"> | | <div class="person-badges" style="float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em; border: 1px solid #aaa; background: #f9f9f9; font-size: 0.85em; text-align: center; line-height: 1.4;"> | ||
'''Badges'''<br> | '''Badges'''<br> | ||
{{#if: {{{ | {{#if: {{{apprentices|}}} | [[File:Badge-apprentices.png|40px|link=|Rotary member]]<br> }} | ||
{{#if: {{{ | {{#if: {{{female|}}} | [[File:Badge-female.png|40px|link=|Smith family]]<br> }} | ||
{{#if: {{{ | {{#if: {{{married|}}} | [[File:Badge-married.png|40px|link=|Veteran]]<br> }} | ||
{{#if: {{{ | {{#if: {{{stationers|}}}| [[File:Badge-stationers.png|40px|link=|Founding member]]<br> }} | ||
</div> | </div> | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 11:12, 21 February 2026
Displays a floating badge panel in the upper right of a person's page.
Call with named parameters for each badge the person has earned, e.g.:
{{PersonBadges|rotary=1|smith_family=1}}