User:Crabbe/Sandbox/01

From The Shartak Wiki
< User:Crabbe‎ | Sandbox
Revision as of 18:47, 15 May 2010 by Crabbe (talk | contribs) (Add working image (Parrotologists))
Jump to navigationJump to search

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.

Original Template - Template:Clanbox

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;" Pslogo.gif|-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;" Pslogo.gif
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.

SkullFace Template - Template:Clanbox_fix

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
Pslogo.gif|-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
Pslogo.gif
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.

Alien pirate demon Template - Template:Clanbox_test

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
Eyecons
Pslogo.gif
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
Pslogo.gif
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.
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.

My Template - User:Crabbe/Sandbox/02

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
Pslogo.gif
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
Pslogo.gif
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.