Gentoo Linux Wiki:Text Formatting Templates
From Gentoo Linux Wiki
| Headers • Text Formatting • Informational & Notices • Discusion & Bugs • Gentoo Linux Wiki:Awards and Status • Misc |
[edit] Introduction
This listing of templates is used to help format text for easier reading on the Gentoo Linux Wiki and to help make all articles consistant
[edit] Listing
| What it looks like | What you type | ||||||||
|---|---|---|---|---|---|---|---|---|---|
Template:Box Code
|
{{Box Code|Code Title|
<nowiki>
Code Content
More code content
Even more code
</nowiki>
}}
|
||||||||
Template:Box File
|
{{Box File|File Title|
<nowiki>
File content,
more content
even more content
</nowiki>
}}
|
||||||||
| Template:Box Note
Note: This is a note. |
{{Box Note|This is a note.}}
|
||||||||
| Template:Box Warning
Warning: This is a warning about a possibly dangerous action. |
{{Box Warning|This is a warning about a possibly dangerous action.}}
|
||||||||
| Template:Box Tip
Tip: This is a helpful tip. |
{{Box Tip|This is a helpful tip.}}
|
||||||||
| Template:Firewall Rule
4. Restore all rules to be part of your current configuration iptables-restore /etc/iptables.bak |
{{Firewall Rule|Service Name|
<nowiki>
-A INPUT -s 127.0.0.1 -j ACCEPT
-A INPUT -j DROP
</nowiki>
}}
|
||||||||
Template:Box Kernel
|
{{Box Kernel|Name of Config|
Code maturity level options --->
General setup --->
Loadable module support --->
Processor type and features --->
Power management options (ACPI, APM) --->
}} |
||||||||
| Template:Filename
/path/to/file |
{{Filename|/path/to/file}} |
||||||||
| Template:Var
placeholder |
{{Var|placeholder}} |
||||||||
| Template:Commandline
your command here |
{{Commandline|your command here}} |
||||||||
Template:Root_Prompt
|
{|
{{Root_Prompt|machine|whoami}}
|-
|colspan=2|or
{{Root_Prompt|machine|whoami|ON}}
|}
|
||||||||
| see Template:Root_Prompt for extend info | |||||||||
| Template:Gui
clickable » item » here |
{{Gui| clickable » item » here}} |
||||||||
| Template:Useflag
Make sure you have gnome enabled... |
Make sure you have {{Useflag|gnome}} enabled... |
||||||||
| Template:Ebuild |
{{Ebuild|sys-apps/acpid}} |
||||||||
| Template:Codeline
Option "DPMS" |
{{Codeline|Option "DPMS"}} |
||||||||
| Template:Keyword
~x86 |
{{Keyword|~x86}} |
||||||||
Template:Box FIXME
|
{{Box FIXME|Something on this page demands attention and should be fixed.}} |
||||||||
