Template:CHE: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(additional spacing correction)
No edit summary
Tag: Manual revert
Line 75: Line 75:
! style="background-color: #f0f0f0;" {{!}} Officers
! style="background-color: #f0f0f0;" {{!}} Officers
{{!}}
{{!}}
{{#if:{{{officer1_title|}}}|{{{officer1_title}}} |}} {{{officer1_name}}}{{#if:{{{officer1_position|}}}|, ''{{{officer1_position}}}''|}}
{{#if:{{{officer1_title|}}}|{{{officer1_title}}} |}}{{{officer1_name}}}{{#if:{{{officer1_position|}}}|, ''{{{officer1_position}}}''|}}
{{#if:{{{officer2_name|}}}|<br/>{{#if:{{{officer2_title|}}}|{{{officer2_title}}} |}}{{{officer2_name}}}{{#if:{{{officer2_position|}}}|, ''{{{officer2_position}}}''|}}|}}
{{#if:{{{officer2_name|}}}|<br/>{{#if:{{{officer2_title|}}}|{{{officer2_title}}} |}}{{{officer2_name}}}{{#if:{{{officer2_position|}}}|, ''{{{officer2_position}}}''|}}|}}
{{#if:{{{officer3_name|}}}|<br/>{{#if:{{{officer3_title|}}}|{{{officer3_title}}} |}}{{{officer3_name}}}{{#if:{{{officer3_position|}}}|, ''{{{officer3_position}}}''|}}|}}
{{#if:{{{officer3_name|}}}|<br/>{{#if:{{{officer3_title|}}}|{{{officer3_title}}} |}}{{{officer3_name}}}{{#if:{{{officer3_position|}}}|, ''{{{officer3_position}}}''|}}|}}
Line 103: Line 103:
[[Category:Cooperative Houses of Elanthia]]
[[Category:Cooperative Houses of Elanthia]]
</includeonly>
</includeonly>
```

**The key fix:** On the first officer line, I changed:
```
{{#if:{{{officer1_title|}}}|{{{officer1_title}}} |}} {{{officer1_name}}}
```

Notice the space is now BEFORE the closing `|}}` of the conditional, so it only appears when there's a title. The space after `|}}` was being eaten by the wiki parser.

Now you should see:
```
Warden Tolwynn, Chair
Chatalaine Traiva, Co-Chair

Revision as of 17:56, 12 December 2025

This template is used to display information about Cooperative Houses of Elanthia (CHEs) in GemStone IV.

Usage

{{CHE
|name=
|emblem=
|location=
|officer1_name=
|officer1_title=
|officer1_position=
|officer2_name=
|officer2_title=
|officer2_position=
|officer3_name=
|officer3_title=
|officer3_position=
|officer4_name=
|officer4_title=
|officer4_position=
|officer5_name=
|officer5_title=
|officer5_position=
|officer6_name=
|officer6_title=
|officer6_position=
|officer7_name=
|officer7_title=
|officer7_position=
|officer8_name=
|officer8_title=
|officer8_position=
|officer9_name=
|officer9_title=
|officer9_position=
|officer10_name=
|officer10_title=
|officer10_position=
|annex1=
|annex2=
|annex3=
|annex4=
|annex5=
|annex6=
|annex7=
|annex8=
|annex9=
|annex10=
}}

Parameters

  • name - The full name of the CHE
  • emblem - Filename of the emblem/artwork (e.g., "Phoenix_emblem.png")
  • location - The main town where the CHE is located
  • officer#_name - Name of the officer (supports up to 10 officers)
  • officer#_title - Title of the officer (e.g., "Lord", "Lady")
  • officer#_position - Position held (e.g., "Secretary", "President", "Treasurer")
  • annex# - Location of annexes (supports up to 10)