Testing Clanbox Templates
I used the Eyecons to vary on since that was the first really broken
one I found. For each of four templates, I display with each of clan_image and official_id empty and specified
to try to test for breakage.
Apparently this broke after a MediaWiki update. This example shows correctly if both
clan_image and official_id are empty, but varying degrees of brokeness else.
|
|
official_id
|
|
|
Specified
|
Empty
|
c l a n _ i m a g e
|
S p e c i f i e d
|
Eyecons|-style="background-color: #ffffff; text-align: center;"
|
http://myspace-361.vo.llnwd.net/00099/16/30/99350361_l.jpg%7C-style="background-color: #c3ddc3; text-align: center;"
|
In-game page
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
Eyecons|-style="background-color: #ffffff; text-align: center;"
|
http://myspace-361.vo.llnwd.net/00099/16/30/99350361_l.jpg
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
E m p t y
|
Eyecons|-style="background-color: #c3ddc3; text-align: center;"
|
In-game page
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
Eyecons
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
I think this is a copy of User:Skull_Face/Template:Clanbox_fix, in any event it was
last touched by Skull Face on September 5, 2008.
This breaks if both are specified, it is fine otherwise.
|
|
official_id
|
|
|
Specified
|
Empty
|
c l a n _ i m a g e
|
S p e c i f i e d
|
Eyecons |
|
http://myspace-361.vo.llnwd.net/00099/16/30/99350361_l.jpg%7C-style="background-color: #c3ddc3; text-align: center;"
|
In-game page
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
Eyecons |
|
http://myspace-361.vo.llnwd.net/00099/16/30/99350361_l.jpg
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
E m p t y
|
Eyecons |
|
In-game page
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
Eyecons |
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
This version is by Alien pirate demon on September 5, 2008.
It was edited March 12, 2010 by Johan Crichton to change one of the Category:Clans
references to Category:Officially recognized clans
.
It is slightly broken when clan_image
is empty (colspan="2" in extra row). When official_id
is empty it still gives a link that doesn't go anywhere. This is because Alien pd removed the conditional code in the original template and cleaned up what was left in order to fix the broken template.
|
|
official_id
|
|
|
Specified
|
Empty
|
c l a n _ i m a g e
|
S p e c i f i e d
|
|
|
E m p t y
|
Eyecons |
|
colspan="2" |
|
|
In-game page
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
Eyecons |
|
colspan="2" |
|
|
In-game page
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
This is my (Crabbe's) version, 17:35, 15 May 2010 (UTC). In order to get the original template functioning I cleaned up the formatting. This should allow the conditionals to work properly again.
This seems to work for this test file. I get two extra rows when both are empty.
|
|
official_id
|
|
|
Specified
|
Empty
|
c l a n _ i m a g e
|
S p e c i f i e d
|
|
Eyecons
|
http://myspace-361.vo.llnwd.net/00099/16/30/99350361_l.jpg
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
E m p t y
|
Eyecons
|
In-game page
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|
Eyecons
|
Leadership: |
Live
|
Members: |
Seven...and growing
|
Goals: |
Eradicate the outsiders
|
Recruitment policy: |
Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.
|
Contact: |
All contact will (for now) be made through my email: Munkymaniac@hotmail.com.
|
|