User:21655/Templates

From Wikipedia, the free encyclopedia

Even being the can't-code-in-anything-other-than-easy/intermediate-Wikimarkup-for-beans lamer that I am (I had my page designed by someone else!), I can still churn out some more-or-less useful stuff for use by WP:EDIANS the world over.

Okay, so half of these aren't even useful. Does it matter?

...

Okay, 75%.

...

Okay, 90%.

...

Okay, all of them.

[edit] Comments

You can start a thread on this page's discussion area or leave me a note on my talk page.

[edit] Parameters

  • level: May be a string or integer, depending on the template.
  • position: Position of image. May be left, center, or right, but defaults to right if none specified
  • desc: Caption of image.
  • size: Size of image in [[[pixel]]]s. Don't forget the "px" suffix!

[edit] Gallery

Location Parameters Result Notes
{{User:21655/Battery}}
  • level (string)
  • size
  • position (left, center, or right; defaults to right if none specified)
  • desc
Foo.
Foo.


See template page for all possible levels.
{{User:21655/Wikimood Template}}
  • level (integer from -10 to 10)
  • size
  • position
  • desc
Foo.
Foo.


{{User:21655/Stress Scale Template}} 2 unnamed params: one for level, one for date and additional comments
Level 0 as of 2000-01-01. Foo.
Level 0 as of 2000-01-01. Foo.


Don't type "position=" or anything like that in the parameters; just the value will do (I used {{{1}}}). Also, no ending period in {{{2}}}; the template already has a period after said param. Edit the page and check out the code to see what I mean.