On Fri, Mar 20, 2009 at 05:12:15PM -0400, Paul W. Frields wrote:
I've added a few extra templates for use on the wiki. I wish I
had
time to do more, but these should help get people started. You can
add your own if you find other cases where these are useful.
There is already a great template for marking up package names:
{{package|name}}
When you use this template, by adding e.g. {{package|foo}} into your
page, you get a specially marked "foo" with a little package picture
next to it. It also links to a useful page. Please use it any time
you reference a package name in a wiki page.
The templates I created are somewhat less useful except when you
consider the idea of exporting wiki text out later. I created the
following:
{{filename|name}}
{{command|name}}
These are used wherever you'd use the <filename> and <command>
elements inline in a paragraph. (You don't use them when the text
appears on its own in a <pre> section on the wiki page.)
I've updated some text on the [[Fedora 11 Beta release notes]] page,
and invite you to take a look at it -- particularly the section on
"xguest" usage. There is example usage in this paragraph that will
help you get a feel for how to use these templates. I also invite
people to create more of these.
With standardized usage like this, we might be able to improve the
chances of getting useful wiki exports to DocBook through
e.g. python-mwlib or the like.
+1 :)
--
Ian Weller <ianweller(a)gmail.com>
GnuPG fingerprint: E51E 0517 7A92 70A2 4226 B050 87ED 7C97 EFA8 4A36