Wikia

Narutopedia

Simant

Sysop
20,806 Edits since joining this wiki
June 15, 2009
  • I live in Florida
  • I am Male
Revision as of 10:44, November 14, 2013 by EternalBeast (Talk | contribs)

| User:Simant
Icon-Archive
Archives

nvm

nvm

nvm

Again, for the Italian Wikia.

Hello there. Maybe you remember that there was a guy bugging you about how to copy the templates on this wikia to the Italian one. That guy was me. Back then you said it was pointless to copy them since they would not work on the italian wikia without the extensions. I have honestly given up on understanding which (or what they actually are) extensions you were talking about, but I'm trying to create a template from scratch. That's why I'd like to ask you some clues (if you don't want to answer, then please give me some links to pages that could help me to become a decent if not good template editor). First off, how should I do in order to make a parameter disappear when there is nothing written in it (since I'm unsure wheter I'm saying it right I'll make an example: there's a character whose age is unknown. So how do you cancel the line about "Age" in the infobox?). Second, how do you hide for example the Jutsu section in the Character infobox, despite it actually having some links?--JOA20 (talk) 18:46, October 29, 2013 (UTC)

Hello. Not to get into this but I could not help but be attracted to the nature of the question. First, allow me to introduce myself. I am KiumaruHamachi or just Hamachi. I know how to make templates from scratch as I've been teaching myself for roughly 4 - 6 years. I I am more than willing to help you, if you so choose. --KiumaruHamachi (talk) 19:10, October 29, 2013 (UTC)KiumaruHamachi
Hi! I'm a basic template editor and I've made several templates from scratch. In order to make a parameter hidden when there's nothing written in it, you must use parser function hooks. I see that they've used the #if: function to do this ('cause I do too). Here's a demonstration:
{{#if:{{{parameter|}}}| Result when ''parameter'' is occupied | Result when ''parameter'' is unoccupied. (usually just a white space) }}
You must separate the results by pipes (|). To escape pipe characters, use this template: Template:!.

And in order to hide parameters like the Jutsu section, you must insert class="mw-collapsible mw-collapsed" to the code (just before the style attribute; e.g. class="mw-collapsible mw-collapsed" style="background: #000000; border: 1px solid #999;"). Hope this helps! EternalBeast 10:38, November 14, 2013 (UTC)

Template:Infobox/Slideshow

Hi, Simant! Can you help me with the Infobox slideshow? I've created an infobox slideshow but with a different code. As I test it, it has a wide gap at the top and a small one at the left side. I've used CSS to fix this problem but still don't work (I purged it). EternalBeast 10:44, November 14, 2013 (UTC)

Facts about SimantRDF feed

Around Wikia's network

Random Wiki