Template:PersonBadges: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
Call with named parameters for each badge the person has earned, e.g.: | Call with named parameters for each badge the person has earned, e.g.: | ||
<code><nowiki>{{PersonBadges|rotary=1|smith_family=1}}</nowiki></code> | <code><nowiki>{{PersonBadges|rotary=1|smith_family=1}}</nowiki></code> | ||
</noinclude><includeonly>{{#if: {{{ | </noinclude><includeonly>{{#if: {{{stationers|}}} {{{married|}}} {{{female|}}} {{{apprentices|}}} | ||
| <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> | ||
Revision as of 11:16, 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}}