Wikia

Community Central

WatchlistRandom pageRecent changes

Succession Box

63,506pages on
this wiki

Forum page

Forums: Index Help desk Succession Box
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1320 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


Hello, I'm hoping someone can help me program a Succession Box template for the Turtlewiki. Turtle Fan 22:07, 7 March 2007 (UTC)

Can you be more specific on what you want the box to look and what will it do? --Cizagna (Talk) 01:14, 8 March 2007 (UTC)

I'm looking for a two-row, three-column table. You'd have the title of a character in the upper center cell and the character himself below it. The left column is "Preceded by" and the right one is "Succeeded by." Wikipedia has them for all kinds of things. Turtle Fan 22:03, 8 March 2007 (UTC)

Like this one? i dont travel that much in wikipedia just the policy pages =p --Cizagna (Talk) 22:14, 8 March 2007 (UTC)
Preceded by
{{{Name1}}}
{{{Place}}}
{{{Date}}}
Succeeded by
{{{Name3}}}

Almost, but the "Preceded By" and "Succeeded By" category counts as one row, and there's only one other row. For a grand total of six cells instead of nine.

Can't say I blame you for ignoring Wikipedia, it sucks. Turtle Fan 02:53, 9 March 2007 (UTC)

Could you show me an example from wikipedia of what you want it will make it way easier and then we can work the personalization part. --Cizagna (Talk) 05:06, 9 March 2007 (UTC)

The box at the bottom of this one--found a nice, short example for ya--isn't quite what I had in mind (perhaps I was misremembering the format?) but it will do just fine:

http://en.wikipedia.org/wiki/Frank_Pelzman Turtle Fan 13:55, 9 March 2007 (UTC)

Complex template indeed, it uses arround 6 templates to work out >.<, looks like a series of templates all working to make a wide array o possibilities, the above box has change the code to appear, like the other one after all that template clean up

This is the code you have to create a page in the Template namespace like "Template:Sussesionbox"

{| border="1" cellpadding="4" cellspacing="0" style="margin:0.5em auto; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%; clear:both; text-align: center;"
|- style="text-align: center;"
|width="30%" |Preceded by<br/>'''{{{Name1}}}'''
|width="40%" |'''{{{Place}}}'''<br/><small>'''''{{{Date}}}'''''</small>
|width="30%" | Succeeded by<br/>'''{{{Name3}}}'''
|- 
|}
how to invoke the template:
{{Sucessionbox
 |Name1=I'm the old one
 |Place=Wikiland
 |Date=2005 - 2006
 |Name2=I'm the new one
}}

And should display like this

Preceded by
Im the old one
Wikiland
2005 - 2006
Succeeded by
I'm the new one

Tell me if you want something change --Cizagna (Talk) 22:24, 9 March 2007 (UTC)

Thanks, we've almost got it now but something's not quite right. Perhaps you could take a look?

http://turtledove.wikia.com/wiki/Upton_Sinclair

Thanks. Turtle Fan 01:13, 11 March 2007 (UTC)

Corrected the error adding the <noinclude> </noinclude> tags on the template that way the example of your template will not appear, also note that i added the between the text that you put on the sinclair page because that forces the line to break, as the template is manage by % so the bigger is one cell the other cells will react, im trying to look for the code that will force the words to avoid warping so you can custom a little more, if you need i can add more fields so you can put other stuff like the "(southern victory)" separate making it little bit more easy and avoid the words to warp what do you think? --Cizagna (Talk) 02:09, 11 March 2007 (UTC)
Bah fixed by adding a space in the <br/> on the sinclair page --Cizagna (Talk) 02:47, 11 March 2007 (UTC)

Many, many thanks. Turtle Fan 04:32, 11 March 2007 (UTC)

New Request

I am looking for the same thing but little more complicated. I would like to have an option to have a multi preceded by and a multi succeeded by table. Example 4th succession box table. I am most thankful for whom ever solves this. Enforcers 15:59, 28 August 2008 (UTC)

I like to know how to make one like Enforcers is talking about. How can I do that? Sundogs user talk | Soap Operas Wiki 18:21, 11 October 2008 (UTC)

Latest Photos

Add a Photo
7,469photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki