This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
User:SwifT/Wiki Tips
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
My personal collection of wiki tips for documentation development.
Formatting
Acknowledging developers from gentoo.org
{{Migrated|originalauthors=nightmorph}}
Tables
Table example:
My resources | |
---|---|
Left | Right |
{| class="table table-striped table-condensed" style="text-align: left;" |- ! colspan=2 | My resources |- | Left | Right |}
Boxes
Tip
This is a Tip.
This is a Tip.
Warning
This is a Warning.
This is a Warning.
Note
This is a Note.
This is a Note.
Important
This is an Important.
This is an Important.
Listings
user $
Cmd
root #
RootCmd
user $
Invocation
root #
RootInvocation
Transclusion and semantics
Defining a parameter
To define a parameter, the following can be used:
[[parametername::parametervalue]]
Next, go to the defined parameter page (Parameter:Parametername) and use the proper editing (through the form) to set the right type.
Referring to a parameter
Regular referral
To just include it in text:
{{#show: [[Pagename]] |? parametername}}
Referral from a parent page
If the parameter is from the parent page, then use BASEPAGENAME:
((#show: {{BASEPAGENAME}} |? parametername}}
Meta information
Discussing changes
In order to discuss a change, on the Talk page, create an open discussion like so:
{{InfoBox stack |{{InfoBox talk open}} }}
Currently open discussions are categorized under.
To end, use InfoBox talk done
.