Hi, welcome to Wikia Templates! Thanks for your edit to the Template talk:Month name page.

Please leave a message on my talk page if I can help with anything! -- KyleH (Talk) 22:46, 5 May 2009

No. Back, Wikia! Stop pretending to be KyleH! --Yoshord 22:48, 5 May 2009 (UTC)

CSS code Edit

All I did is I pasted the MediaWiki:Common.css code to the bottom of the page it said to, but it diddn't say to do anything else... So now I'm confuzed. Really confuzed. Captian Zaco reply 18:52, December 5, 2009 (UTC) What stuff from that page? I tried putting the css code there but it diddn't work... Nor the entire page... Captian Zaco

Thanks. Userboxes are active now. And I can use that for my other two wikis too! Captain Zaco

Need more of your magic Edit

Please see what's wrong with and/or its documentation. The template seems to work - see But its doc clearly has problems and the template should have a prper category with end brackets doing their job.

The template is a (very amateurish) blend of {{wikipedia}} and Wikipedia:Template:Wikispecies. I don't know why WP uses the search function; maybe we don't need to, but it could be wise to keep it unless it's a problem. If you can fix the template and its documentation, a more obvious border would be nice, like w:c:familypedia:template:commonscat or our {{Taxobox}}, which may be used just above it in many cases.

Robin Patterson (Talk) 07:13, January 11, 2010 (UTC)

Someone should report that the table doesn't work if the start of the table does not coincide with the start of a line. --Yoshord 00:41, January 12, 2010 (UTC)
A more obvious border could be made by making the border a darker color; making the border property in the style property from #E0E0E0 to something like #AAAAAA. And all that had to be done to add end brackets to the category link. They can't do their job if they don't exist. --Yoshord 00:49, January 12, 2010 (UTC)

Help Edit

Hello, I need MAJOR HELP on my wiki! Every time I ask for help I get answers that doesn't help me and it's frustrating, please I need your help, please message me back thanks! AJona1992 03:39, April 29, 2010 (UTC)

Template to the right Edit

How do I make the Template go to the right? It keeps going to the left. Template:Infobox series character --KiumaruHamachi 19:27, May 6, 2010 (UTC)KiumaruHamachi

Add this line of code to your Wiki's Mediawiki:common.css: .infobox {float:right} --Yoshord 19:38, May 9, 2010 (UTC)
Okay thanks. And do the parameters disappear when no information is written in them? --KiumaruHamachi 19:40, May 9, 2010 (UTC)KiumaruHamachi
On that specific one, it doesn't look like they do. I could try to fix that if it's important. --Yoshord 19:43, May 9, 2010 (UTC)
No, it's not important. I'm just saying cuz I don't use most of the relationships. --KiumaruHamachi 19:44, May 9, 2010 (UTC)KiumaruHamachi
But i do have one question: how did u create the infobox? --KiumaruHamachi 19:48, May 9, 2010 (UTC)KiumaruHamachi
The Infobox just a tall, two-column table. The headings and image are just a two-column wide table element. --Yoshord 19:58, May 9, 2010 (UTC)
Did u use any program or no? KiumaruHamachi 19:59, May 9, 2010 (UTC)KiumaruHamachi
Nope. --Yoshord 20:02, May 9, 2010 (UTC)
So I can make a blank article and make it a template? --KiumaruHamachi 20:03, May 9, 2010 (UTC)KiumaruHamachi
Do you mean recreate Template:Blank, or starting a template from a blank page? Both are possible. --Yoshord 20:08, May 9, 2010 (UTC)
creating from a blank page. Can u walk me through the steps of making a template? KiumaruHamachi 20:13, May 9, 2010 (UTC)KiumaruHamachi

Sure, I guess. Are you talking about creating an infobox, right? Well, the first step applies regardless of what type of template you are creating. Monaco skin? Press the "Create new article" button on the sidebar, type in Template:{{{Name}}}, replacing {{{Name}}} with what the template should be called, and check the "blank" checkbox. The press "Create new article". What happens next depends on the type of template to be created.


is that "so far so good"

Um... Did I do that right? And I want a character template? (Infobox really) --KiumaruHamachi 20:26, May 9, 2010 (UTC)KiumaruHamachi

The first line of the new article will be {| class="infobox" style="font-size:89%; width:300px; background-color:#FFF;" This starts a table, and indicates the table's style. {| starts a table. class="infobox will mark the table as a template, and allow a lot of the infobox's style to be imported from the css (such as the snippet .infobox {float:right} from earlier). A lot of the infoboxes on this wiki include style="font-size:89%; width:300px; background-color:#FFF;" inline, although if you have the ability to edit the csses, it would make more sense to include that in the css and exclude it from the template. —Preceding unsigned comment added by [[User:Yoshord|Yoshord]] ([[User talk:Yoshord|talk]] • [[Special:Contributions/Yoshord|contribs]]) . Please sign your posts with ~~~~!

Okay what's next:
. I hope thats how you did ... hope i did it right so far --KiumaruHamachi 20:41, May 9, 2010 (UTC)KiumaruHamachi

The .infobox {float:right} doesn't go in the template page. That went in the css page, and putting class="infobox" in the template tells it to follow that instruction from the css page. When the template is rendered, the template asks the CSS document "What should I do, given that I have class="infobox" am and therefore an infobox". The CSS then replies "I have this instruction, .infobox {float:right}, which tells all infoboxes to go to the right of the page. Go to the right of the page". Then the template complies. Does that make the relationship clearer?

The second line is |-, to indicate the begining of the first row.

The third line is the heading line: The TITLE that appears at the start of every infobox. It starts with a ! since it is a header. It will also include colspan="2", as it takes up the full width of the infobox. Next, the class="color1" statement. This makes it the same color as the bar at the top of each page, with the "Edit this page" links, et. cetera. also, style="font-size:120%; padding:1em;", because that seems standard like the previous inline style.

Stay on the same line. | is next, to separate the element's style from its contents. The usual contents of this element is {{{name|{{PAGENAME}}}}}. This defines an optional parameter, name, that will be the title of the infobox. If name is not supplied, the title of the infobox will be the page's name. --Yoshord 20:54, May 9, 2010 (UTC)

What's next? (did I do that part right) --KiumaruHamachi 21:39, May 9, 2010 (UTC)KiumaruHamachi

There should be a linebreak between |- and !colspan, and no line break between :1em;" and |-

Next is the image row. Start with a new line containing only |-

Start another new line. Start it with |, to indicate an element. This will be another single-element row, so give it a style of colspan="2", and arbitrarily style="padding:0.5em;", and end the style with another |. The image itself starts with [[. Start a new parameter with {{{. The parameter name is image. Although not neccessary, a default placeholder image can be defined. The placeholder for a person would likly be Image:Placeholder person.png, so to add the defualt, add |Image:Placeholder person.png. End the paramter with }}}. Next, separate image parts with a |. The second part of the image is its width. {{{imagewidth|250}}}px crates a new parameter, imagewidth, with default 250. The image is ended with a ]]. The caption below the image consists of <br/>''{{{caption| }}}''. <br/> places the caption below the image, and the rest defines a parameter for an image. --Yoshord 21:46, May 9, 2010 (UTC)

Hopefully, i did that right. Now what do i do? --KiumaruHamachi 21:54, May 9, 2010 (UTC)KiumaruHamachi

Some corrections. First line: replace class="infobox. with class="infobox". Second line: insert a line break (enter button) between |- and !colspan. Then remove the line break at the end of the next line. Add a line after PAGENAME}}}}}} containing only |-. Let me see that. --Yoshord 22:26, May 9, 2010 (UTC)

Here ya go! I previewed it and it looks like a(starting) infobox. So now what do i do? --KiumaruHamachi 22:44, May 9, 2010 (UTC)KiumaruHamachi
Next, an easy and constant part; add
! colspan="2" class="color1" | Vital statistics
to add a minor heading between the image and the contents.

Next is a repeating sequence of one of three types of rows: mandatory rows, defaulted rows, and disappearing rows. Unless you have a specific idea of what you want to add, I’ll just give one example each of the three types of rows and then move on. The three I would include are "all characters have a gender", "all characters were born, but their birthdate may be unknown", and "not all characters have died, and thus should only show a deathdate if they have died". That is, again if you don't have something better. --Yoshord 23:06, May 9, 2010 (UTC)

I can't find the content. Where is it? --KiumaruHamachi 23:22, May 9, 2010 (UTC)KiumaruHamachi

The content comes next. There is the part before the "Vital Statistics" line, which you already did, the "Vital Statistics" line that you are doing now, and then the content lines that you will do. Understand? --Yoshord 01:45, May 10, 2010 (UTC)

I've done all this and the text doesn't appear on the character's article yet when i type it in the syntax or the code. And copy and paste it in the article the text doesn't come up. Am I missing a code or something? --KiumaruHamachi 14:46, May 10, 2010 (UTC)KiumaruHamachi

... Ignore everything I said two edits ago; apparently foreshadowing is not something you comprehend well.

Next, an easy and constant part; add
! colspan="2" class="color1" | Vital statistics
. Unless you managed to figure this out from last time, then you don't need to add the row again.

The most simple type of content row is the mandatory content row. It starts, like every other row, with a single line containing only |-. The next line starts with a |. It then contains the variable's description. In this case, Gender. The third line starts with another |. It's second half is a parameter definition. Since it is mandatory, no default needs to be defined. Add {{{gender}}} to that line.

The default row is almost, but not quite as simple. The first two lines are the same. The first line contains only |-. The next line starts with a |, then contains the parameter's description. In this case, Birthdate. The difference is the last line. the line begins with a |. Then it contains a parameter definition, {{{birthdate, but unclosed so far. Than, a | to separate the parameter name from its default, followed by the default value, unknown. Lastly, the parameter can be closed with a }}}. --Yoshord 20:01, May 10, 2010 (UTC)

The third type of row is the most complex, commonly appearing type of row, the disappearing row. It uses the If parser function.

To just create the row, start a new line with {{#if:. Next, insert a parameter definition with a default of nothing. if the variable name is "deathdate", this is entered as {{{deathdate|}}}. Then, separate the if conditional from the then statement with a |.

Begin a new line, and place in it only {{!}}-. This is the same as |-, but necessary due to the if parser function. The next line starts with a {{!}}. It then contains the variable's description. In this case, Date of Death. The third line starts with another {{!}}. It's second half is a parameter definition. Since it will not show if the variable is undefined, no default needs to be defined. Add {{{deathdate}}} to that line. Add a third line, containing only }}, to end the if-then statement.

These three types of rows can be repeated and mixed in any order and in any length. For simplicity, this example will only have the preceding three.

The second-to-last line of the infobox contains only |}. The last line then contains <noinclude><br style="clear:both;" />{{documentation}}</noinclude>, standard of every template created.

NOW you should be done, except for possible minor corrections. --Yoshord 20:28, May 10, 2010 (UTC)

THANK YOU SO FREAKING MUCH!!! THANK YOU THANK YOU THANK YOU!!! --KiumaruHamachi 11:57, May 11, 2010 (UTC)KiumaruHamachi

Um... I forgot to ask: How do I make the picture appear in the infobox? I don't want the place holder and I want to add an image. How do I make the picture appear in the infobox? KiumaruHamachi 16:48, May 27, 2010 (UTC)KiuamruHamachi

Do you mean using the parameter image when using the template, or changing the image that appears to be the same every time the template is used? --Yoshord 02:44, May 28, 2010 (UTC)

Keep up the good work Edit

You and Roguebfl have been doing some great work. -- Fandyllic (talk · contr) 10:24 AM PST 10 Aug 2010

Making the Parameters disappear Edit

Yo Yoshord
Do you know how to make the parameters on a template disappear, when not in use? --KiumaruHamachi 19:39, August 23, 2010 (UTC)KiumaruHamachi

Most cases giving them a default setting of empty will do so i.e. {{{1|}}} --  Roguebfl   talk    contribs    email   20:44, August 23, 2010 (UTC)
Oh okay. thanks. --KiumaruHamachi 20:45, August 23, 2010 (UTC)KiumaruHamachi
Community content is available under CC-BY-SA unless otherwise noted.