MediaWiki only recognizes the "{|" table mneumonic when it's the first
thing
on a line.
So if your template starts out with "{|" - that's fine, but the caller also
has to align things in such a way that the result starts a line. So this
should work:
{{inuse}}
While this probably wouldn't:
Some text {{inuse}}
You can get around this by inserting a leading return character (newline) at
the beginning of your Template:Inuse article. (unless MW strips leading
whitespace, but I don't think it does).
-- Jim R. Wilson (jimbojw)
On 6/4/07, Dave Sigafoos <davesigafoos(a)sanmar.com> wrote:
We are moving into templates and so using the 'inuse' template that was
suggested to me last week ..
I exported and imported
I saved/uploaded image
After a little fitzing (technical term for not sure what's happening :)
when preview/view Template:inuse it looks really nice.
Now I put it in a page and before the image I get
{| class="messagebox plainlinks" id="inuse" style="border: 1px
solid
#5A8261; background-color: #CCFFCC;" |-
| style="width: 70px" |
Then the image and then the text
Ideas on why it would look different when viewing the template direct
than it does when you {{inuse}}
Thanks
DSig
David Tod Sigafoos | SANMAR Corporation
PICK Guy
206-770-5585
davesigafoos(a)sanmar.com
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l