Wikia

Avatar Wiki

  • Welcome to the Coding Companions! Please set up your schedule as soon as possible. Thank you.

      Loading editor
    • Thank you! I'll do that

        Loading editor
    • You are welcome. I'm glad you are a part of us now!

        Loading editor
    • Like I said, I may need help. For instance, I can make userboxes, but am unsure of how to simplify the coding

        Loading editor
    • What do you mean simplify?

        Loading editor
    • such as
      {{User Korra|opinion|reason}}
        Loading editor
    • Oh. You just write {{name of page|opinion|reason }}

        Loading editor
    • So, I need to set up a template page for my userboxes?

        Loading editor
    • To paste a page, you just write it in a pair (on each side) of curly parenthesis. To use variables used inside, you write |text displayed before the second pairs of curly parenthesis. If you have more variables (aka parameters), you write |text displayed|text displayed. If a parameter is given a specific name, you need to specify the name and its value:

      |nameOfParameter = valueOf_"nameOfParameter"
      

      An example of a parameter named abc given the value of ghk would be:

      |abc = ghk
      

      Spacing does not matter. So the following is the same as the example above:

      | abc       = ghk
      

      However line breaks matter.

        Loading editor
    • @I need a template?: If you don't use a template, then you don't need to use parameters. You can just write it on the page.

        Loading editor
    • .... Wha-? Tell it to me once, and never again, but woah! Slow down! I only just started coding, for Koh's sake!

        Loading editor
    • If you aren't using a template, you don't need to have a parameter. A parameter is only used when a template is being pasted (in the case you are asking about). Otherwise, it's useless. If you have this code in a template:

      Hello, {{{1}}}!
      

      ...and you want to paste it on someone's message wall with their name on it, you write:

      {{TEMPLATE NAME|NAME OF USER}}
      

      If you have a template:

      Hello, {{{1}}}! You are {{{2}}}.
      

      You can paste the template by writing:

      {{TEMPLATE NAME|NAME OF USER|ATTRIBUTE DESCRIBING THEM}}.
      

      An example use (though not any less true :P) would be:

      {{TEMPLATE NAME|Fruipit|awesome}}
      

      ...which would render as: Hello, Fruipit! You are awesome.

      If you aren't making a template, however, the parameters are useless, except if the page is going to be pasted. For example, if I wrote this on my userpage:

      Hey, {{{1}}}.
      

      ...the page would render:

      Hey, {{{1}}}.

      Literally!

      If someone pasted your entire userpage (which is not a very good idea), wrote {{User:Fruipit|person}}, and you had that same text added, only then would it says person instead of {{{1}}}. If you wrote {{{1|person}}}, that would, by default, render as "person". However, that is pointless, once again, if the page is not meant to be pasted, as you do not need to add a variable/parameter.

        Loading editor
    • Ah. I get it now. I don't need a template, I can just give them the code I created?

        Loading editor
    • 23.20.196.179
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Advertisement | Your ad here

Latest images

Add an image
6,197images on the wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki