Wikia

Community Central

WatchlistRandom pageRecent changes

Template Help

63,457pages on
this wiki

Forum page

Forums: Index Help desk Template Help
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 1480 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


Hello, i operate the Puppet Wikia and i need some help with a template. Here it is the template name is Character http://puppet.wikia.com/wiki/Wilberforce it does not display correctly

Thanks, Phillip chat 18:57, 21 February 2007 (UTC)

Looks like something to do with all that t template inside of there. For a simple inputbox I don't think all that stuff is needed. I have a feeling that's an attempt at the ability to hide unused sections, but I've found that a cleaner option to use is to use parserfunctions and have it add a display: none; to the 2 cells when needed (or in the case of cleaner code, I have a hide CSS class which I add to do that). I'll take a look at it later but at the moment I'm on a computer which I can't even login on Dantman (talk) 20:06, 21 February 2007 (UTC)
Have you considered having the template completely rewritten? Cause I can't put a pinpoint on anything in that template. It has way to much code for the basic stuff it displays. Dantman (Talk) 02:23, 23 February 2007 (UTC)
this is fun and interesting i need to know what its {{t|}} as i dont get it that much, why dont use wiki table parameters instead of html parameters it could become clear thought it requires a row for each parameter, but will not be notice on the display, also the last example that you had in your history it had other value keys no performer but i saw it in the code and no builder, no designer but those i did not find it in the code. i will try to wikify it first but im rusted on what td and tr mean lol i think it was row and column respectively, will come back in a while and will inform my results but a test i make most of the fields works wonderfull only some are missing and some does not display correctly --Cizagna (Talk) 19:38, 23 February 2007 (UTC)
The t template states that it's used for complex table nesting tricks. <tr></tr> is a table row, equivalent to |-, and <td></td> is a table cell equivalent to using | or || and <th></th> is a table head equivilant to using ! or !|. I don't know who tryed out these table nesting tricks, but using wikitabls, parserfunction, display: none; would work out much better for hiding sections. I think the reason for using html elements was so that they could be put inside of the parserfunctions. But if someone would write out a simple wikitable with all the options you want displayed, and say which options should dissapear, I can set it up to hide optional rows when not used. Dantman (Talk) 19:48, 23 February 2007 (UTC)
Ok i have clean up most of it but because of the use of TR and TD there is many redundant information i change the | for {{!}} every T is hiddable if no info is there is no information aside from that they have this fields hideb and hidec that only hides the header my possible guess is that maybe they want to hide the full information related with that header and they mention a hidep but i dont see no place where they use it. Hope this helps you a little bit more other way i will keep cleaning it later as i have some things to do right now --Cizagna (Talk) 20:50, 23 February 2007 (UTC)
I totally remove this part from each row style="spacing-top: 0px; spacing-bottom: 0px;" dont see its use... also i clean as much as i was able moving stuff from the individual rows/cells to the header as there were almost non variating cells i mark you with comment tags what it should hide when is not used and what it needs to be hide when its used if my guess are correct. --Cizagna (Talk) 02:24, 24 February 2007 (UTC)
Done, though it might have been a little neater if my .hide class was inside of the puppet wiki's css. Dantman (Talk) 05:53, 24 February 2007 (UTC)
ops forgot to remove a testing field, also added hidec field --Cizagna (Talk) 14:11, 24 February 2007 (UTC)
{| cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"
|-
|<div id="infoboxinternal">
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:{{{3|#f0f0f0}}}; border-collapse: collapse; vertical-align: middle;"
|-
| colspan="2" style="text-align:center; padding:0; background:{{{imageBG|#0F1C8A}}};"| {{{image|}}}
|-
! colspan="2" style="text-align:center; color:#ffffff; background:#0F1C8A; font-size:larger;" | {{{name}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:left; font-weight:normal; background:#5260E0;" | '''Character Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{puppeteer|}}}| |display: none;}}" | Puppeteer
| style="{{#if:{{{puppeteer|}}}| |display: none;}}" class="infoboxcell" | {{{puppeteer|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{voice|}}}| |display: none;}}" | Voice
| style="{{#if:{{{voice|}}}| |display: none;}}" class="infoboxcell" | {{{voice|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{alias|}}}| |display: none;}}" | Alias
| style="{{#if:{{{alias|}}}| |display: none;}}" class="infoboxcell" | {{{alias|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{gender|}}}| |display: none;}}" | Gender
| style="{{#if:{{{gender|}}}| |display: none;}}" class="infoboxcell" | {{{gender|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{appearance|}}}| |display: none;}}" | First Appearance
| style="{{#if:{{{appearance|}}}| |display: none;}}" class="infoboxcell" | {{{appearance|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{hair|}}}| |display: none;}}" | Hair color
| style="{{#if:{{{hair|}}}| |display: none;}}" class="infoboxcell" | {{{hair|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{eyes|}}}| |display: none;}}" | Eye color
| style="{{#if:{{{eyes|}}}| |display: none;}}" class="infoboxcell" | {{{eyes|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{puppettype|}}}| |display: none;}}" | Puppet Type
| style="{{#if:{{{puppettype|}}}| |display: none;}}" class="infoboxcell" | {{{puppettype|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
! colspan="2" style="{{#if:{{{hidec|}}}|display: none;| }} text-align:left; font-weight:normal; background:#5260E0;" | '''Additional Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{personality|}}}| |display: none;}}" | Personality
| style="{{#if:{{{personality|}}}| |display: none;}}" class="infoboxcell" | {{{personality|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{friends|}}}| |display: none;}}" | Friends
| style="{{#if:{{{friends|}}}| |display: none;}}" class="infoboxcell" | {{{friends|}}}
|}
</div>
|-
| id="infoboxend" class="plainlinks" style="text-align:right;" |  [[Template:Character|[Source]]]
|}

Thanks! Phillip chat 15:36, 24 February 2007 (UTC)

Latest Photos

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

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki