Difference between revisions of "User:Crabbe/Sandbox/01"

From The Shartak Wiki
Jump to navigationJump to search
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{User:Crabbe/Sandbox/02|
+
== 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.
 +
__TOC__
 +
 
 +
== 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.
 +
{|
 +
|-
 +
|width="1.0em" |  
 +
|width="1.0em" |  
 +
| colspan="2" style="background-color: #cc6666; text-align: center" |'''official_id'''
 +
|- style="background-color: #cc6666; text-align: center"
 +
|
 +
|
 +
|'''Specified'''
 +
|'''Empty'''
 +
|-
 +
| rowspan="2" style="background-color: #cc6666; text-align: center" | '''c l a n _ i m a g e'''
 +
| style="background-color: #cc6666; text-align: center" |'''S p e c i f i e d'''
 +
|{{Clanbox|
 +
clan_name=Eyecons|
 +
official_id=34|
 +
open_to=natives|
 +
clan_image=[[Image:Pslogo.gif]]|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|{{Clanbox|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
clan_image=[[Image:Pslogo.gif]]|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|-
 +
| style="background-color: #cc6666; text-align: center" |'''E m p t y'''
 +
|{{Clanbox|
 
  clan_name=Eyecons|
 
  clan_name=Eyecons|
 
  official_id=34|
 
  official_id=34|
 
  open_to=natives|
 
  open_to=natives|
  clan_image=http://myspace-361.vo.llnwd.net/00099/16/30/99350361_l.jpg|
+
  clan_image=|
 
  clan_leaders=Live|
 
  clan_leaders=Live|
 
  clan_membership=Seven...and growing|
 
  clan_membership=Seven...and growing|
Line 12: Line 62:
 
  active=no
 
  active=no
 
  }}
 
  }}
 +
|{{Clanbox|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
clan_image=|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|}
 +
== 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 [[User:Skull_Face|Skull Face]] on September 5, 2008.
 +
This breaks if both are specified, it is fine otherwise.
 +
{|
 +
|-
 +
|width="1.0em" |  
 +
|width="1.0em" |  
 +
| colspan="2" style="background-color: #cc6666; text-align: center" |'''official_id'''
 +
|- style="background-color: #cc6666; text-align: center"
 +
|
 +
|
 +
|'''Specified'''
 +
|'''Empty'''
 +
|-
 +
| rowspan="2" style="background-color: #cc6666; text-align: center" | '''c l a n _ i m a g e'''
 +
| style="background-color: #cc6666; text-align: center" |'''S p e c i f i e d'''
 +
|{{Clanbox_fix|
 +
clan_name=Eyecons|
 +
official_id=34|
 +
open_to=natives|
 +
clan_image=[[Image:Pslogo.gif]]|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|{{Clanbox_fix|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
clan_image=[[Image:Pslogo.gif]]|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|-
 +
| style="background-color: #cc6666; text-align: center" |'''E m p t y'''
 +
|{{Clanbox_fix|
 +
clan_name=Eyecons|
 +
official_id=34|
 +
open_to=natives|
 +
clan_image=|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|{{Clanbox_fix|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
clan_image=|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|}
 +
== Alien pirate demon Template - [[Template:Clanbox_test]] ==
 +
This version is by [[User:Alien_pirate_demon|Alien pirate demon]] on September 5, 2008.
 +
'''It was edited March 12, 2010 by [[User:Johan_Crichton|Johan Crichton]] to change one of the <code>Category:Clans</code> references to <code>Category:Officially recognized clans</code>.'''
  
The Eyecons are a clan of Dalpok natives who have sworn to these basic principles:
+
It is slightly broken when <code>clan_image</code> is empty (colspan="2" in extra row).  When <code>official_id</code> 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.
 +
{|
 +
|-
 +
|width="1.0em" | &nbsp;
 +
|width="1.0em" | &nbsp;
 +
| colspan="2" style="background-color: #cc6666; text-align: center" |'''official_id'''
 +
|- style="background-color: #cc6666; text-align: center"
 +
|
 +
|
 +
|'''Specified'''
 +
|'''Empty'''
 +
|-
 +
| rowspan="2" style="background-color: #cc6666; text-align: center" | '''c l a n _ i m a g e'''
 +
| style="background-color: #cc6666; text-align: center" |'''S p e c i f i e d'''
 +
|{{Clanbox_test|
 +
clan_name=Eyecons|
 +
official_id=34|
 +
open_to=natives|
 +
clan_image=[[Image:Pslogo.gif]]|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|{{Clanbox_test|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
clan_image=[[Image:Pslogo.gif]]|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|-
 +
| style="background-color: #cc6666; text-align: center" |'''E m p t y'''
 +
|{{Clanbox_test|
 +
clan_name=Eyecons|
 +
official_id=34|
 +
open_to=natives|
 +
clan_image=|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|{{Clanbox_test|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
clan_image=|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|}
 +
== 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.
  
1. To kill the outsiders.
+
This seems to work for this test file.  <strike>I get two extra rows when both are empty.</strike> Fixed.
 
+
{|
At some point in time (when the Eyecons are high in number), the Eyecons will claim a piece of territory to defend, which will likely be the plateau above the waterfall.
+
|-
 
+
|width="1.0em" | &nbsp;
Known members of the Eyecons include:
+
|width="1.0em" | &nbsp;
 
+
| colspan="2" style="background-color: #cc6666; text-align: center" |'''official_id'''
1. Live
+
|- style="background-color: #cc6666; text-align: center"
 
+
|
2. Nine Inch Nails
+
|
 
+
|'''Specified'''
3. Switchfoot
+
|'''Empty'''
 
+
|-
4. FightOffYourDemons
+
| rowspan="2" style="background-color: #cc6666; text-align: center" | '''c l a n _ i m a g e'''
 
+
| style="background-color: #cc6666; text-align: center" |'''S p e c i f i e d'''
5. Lifehouse
+
|{{User:Crabbe/Sandbox/02|
 
+
clan_name=Eyecons|
6. YourMom 33
+
official_id=34|
 
+
open_to=natives|
7. BonoVox
+
clan_image=[[Image:Pslogo.gif]]|
 
+
clan_leaders=Live|
----
+
clan_membership=Seven...and growing|
 
+
clan_goals=Eradicate the outsiders|
For those of you who are new to the game, I offer this strategy: first learn ghostly whisper, then learn haunting screamThen, whenever you are dead, all you have to do is find an enemy and screamIt gets you a guaranteed 2-3 XP when you use it around an enemy, and the XP gained increases when there are more people....
+
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|{{User:Crabbe/Sandbox/02|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
clan_image=[[Image:Pslogo.gif]]|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|-
 +
| style="background-color: #cc6666; text-align: center" |'''E m p t y'''
 +
|{{User:Crabbe/Sandbox/02|
 +
clan_name=Eyecons|
 +
official_id=34|
 +
open_to=natives|
 +
clan_image=|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
  clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|{{User:Crabbe/Sandbox/02|
 +
clan_name=Eyecons|
 +
official_id=|
 +
open_to=natives|
 +
  clan_image=|
 +
clan_leaders=Live|
 +
clan_membership=Seven...and growing|
 +
clan_goals=Eradicate the outsiders|
 +
clan_recruit=Email Live at: Munkymaniac@hotmail.com; enter "Eyecon" in your character description.|
 +
clan_contact=All contact will (for now) be made through my email: Munkymaniac@hotmail.com.|
 +
sort_as=|
 +
active=no
 +
}}
 +
|}

Latest revision as of 18:53, 15 May 2010

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. Fixed.

    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.