[Mediawiki-l] wiki markup in templates

Frederich, Eric P21322 eric.frederich at siemens.com
Wed Feb 28 18:20:52 UTC 2007


Anybody? 

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Frederich,
Eric P21322
Sent: Monday, February 26, 2007 5:18 PM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] wiki markup in templates

Hello,

I created a template called "Box Blue" as follows...

{|style="border-spacing:8px;margin: 1em auto 1em .5em; width: auto;"
 | style="width:100%;border:1px solid
#cedff2;background-color:#f5faff;vertical-align:top;color:#000"|
  {| width="100%" cellpadding="2" cellspacing="5"
style="vertical-align:top;background-color:#f5faff;color:#000"
   ! <div style="margin:0;background-color:#cedff2;border:1px solid
#a3b1bf;text-align:left;color:#000;padding:0.2em 0.4em;">
{{{1}}}
</div>
   |-
   |style="color:#000"|
{{{2}}}
   |-
  |}
|}


... But I can't figure out a way to use it with headings.
I want to do something like this...

{{Box Blue|
=== Some Heading ===
|
* Some
** Stuff
}}

I can get most wiki markup inside there except for the === headings ===.

The thing is, if I don't use a template and were to paste "=== Some
Heading ===" in place of {{{1}}} it would work fine and make its way
into the table of contents and everything.

Is this a bug, not supported, or supported in a later version than I am
running?

I am using MediaWiki 1.7.1

Thanks,
~Eric

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list