Custom Templates

このページにスクリプト エラーがあります。サイト編集者によって解決されるまでの間は、以下の部分的なコンテンツのみが表示可能です。

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

Needed new template (code)

To make ease of using <code>[[foo]]</code> and <code>[[Foo|Bar]]</code> would it be feasable to do a template for this, to be helpful has to be easy to recall and short. I suggest code and coden for the normal and extra versions respectively. --Callek 17:59, 30 March 2006 (PST)

Regarding Template:block-title

It's broken, because it uses <span id="{{ {1 }}}">, without doing any processing of the id (e.g. " " -> "_"), like wiki headers do. So links to these block-title-generated headers just don't work. For example see .

I like the idea, perhaps we could get a mediawiki extension that does the required conversion before putting the text in span's id? --Nickolay 01:13, 18 Aug 2005 (PDT)

Nickolay, should dria agree to put-in an extension for that, I can toss one up, quick, and do it, provided someone make a page for me which tells me what is needed. As in, should we toss it through the wiki parser, what "validation" should we commit to input, etc. Not to mention what the extension will output, if dria agree's with this idea, create a new page at User:Callek somewhere, I'll see it from recent changes. --Callek 11:07, 18 Aug 2005 (PDT)
You guys are welcome to do this. Thanks :) -- dria 11:38, 18 Aug 2005 (PDT)


Callek, thanks. The extension we need should be quite simple, I think. It should produce roughly the same output as ==Header==, the difference is that the resulting header is not included in the TOC, and possibly another tag is used to mark the heading (the template uses <b>). --Nickolay 12:49, 18 Aug 2005 (PDT)

Non-standard templates

I have documented the use of non-standard templates. See the brief discussion on Nickolay's talk page for information. I chose the newer, non-standard templates over the original not_standard templates, but I have no deep, emotional attachment to them. Comments? Which are better? Sevenspade 10:33, 3 September 2006 (PDT)


 このページの貢献者: user01, Sevenspade, Callek, Dria, Nickolay
 最終更新者: user01,