Thanks for dropping the template in Graf. I figured out how they work, but am still stuck on how to start a new one.
The wiki page name for a template is the template's name preceded by "Template:". Thus, if I wanted to create a new template called "L4W:Nonsense" I'd type the following url in my browser window:
Code:
http://www.enworld.org/wiki/index.php/Template:L4W:Nonsense
Going there should bring up an empty page, which you can edit. Alternatively, you can add the following code to any wiki page:
Code:
[[Template:L4W:Nonsense]]
It might well make sense to have a wiki page somewhere in the L4W namespace linking to all the templates we've written, with descriptions of what they're for.
Any idea why the Summary starts so far down the page? I doesn't appear to be the template used from what I could tell. I wonder if its the fontsize=140% though.
I think that's my fault. Wiki text inserts newlines (HTML <br/> tags) whenever you have what it thinks are extra newlines within the template. I wrote the new powers section of the summary as
Code:
{{ #ifeq: {{{Power01|}}} ||| <tr><td> {{{Power01}}} </tr></td> }}
{{ #ifeq: {{{Power02|}}} ||| <tr><td> {{{Power02}}} </tr></td> }}
{{ #ifeq: {{{Power03|}}} ||| <tr><td> {{{Power03}}} </tr></td> }}
etc. If I'd written instead:
Code:
{{ #ifeq: {{{Power01|}}} ||| <tr><td> {{{Power01}}} </tr></td> }} {{ #ifeq: {{{Power02|}}} ||| <tr><td> {{{Power02}}} </tr></td> }} {{ #ifeq: {{{Power03|}}} ||| <tr><td> {{{Power03}}} </tr></td> }}
then the wikitext wouldn't emit the <br/>'s. <br/> inside of a <table> tag isn't legal HTML, so your browser attempts to figure out what the page developer "meant", and moves them outside the table. In this case, above the summary section.
At least, that's my theory, based on spending most of Sunday dealing with weird interactions between wikitext and html. It would be easily tested, by taking out the extra newlines in the template code and seeing if that fixed the extra space above the summary.