Hello, (Henne, you work on the wiki on Rosenmontag? *looking confused*) on Montag, 15. Februar 2010, Henne Vogelsang wrote:
I used the wikipedia way of documenting templates.
Every template has a subpage /doc which provides the documentation. You include it on the Template page in a 'noinclude' block so it does not get included when you include the Template. It's easier as it sounds ;)
I like the basic idea, but I'd like to propose to follow the wikipedia way a bit more ;-) Currently you use <noinclude> {{{{PAGENAME}}/doc}} </noinclude> which of course works. I'd propose to follow the wikipedia way a bit more - they use <noinclude> {{documentation}} </noinclude> This needs the additional Template:Documentation, but has the advantage that it automatically shows a hint where the documentation is placed, an edit link for the templace documentation, adds a frame to the documentation etc. For an example, see http://en.wikipedia.org/wiki/Template:Documentation Regards, Christian Boltz -- Ich soll keine fünfzeiligen Sigs schreiben. Ich soll keine fünfzeiligen Sigs schreiben. Ich soll keine fünfzeiligen Sigs schreiben. Ich soll keine fünfzeiligen Sigs schreiben. Ich soll keine fünf... -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org