Text Formatting Templates
出自Gentoo Linux Wiki
| 头部 • 文本格式化 • 信息 • 讨论和Bug • 头衔和身份地位 • 其他 |
[编辑] 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
[编辑] Listing
| What it looks like | What you type | ||
|---|---|---|---|
Template:Box Code
|
{{Box Code|Code Title|
<pre>
Code Content
More code content
Even more code
</pre>
}}
|
||
Template:Box File
|
{{Box File|File Title|
<pre>
File content,
more content
even more content
</pre>
}}
|
||
Template:Box Note
|
{{Box Note|This is a note.}}
|
||
Template:Box Warning
|
{{Box Warning|This is a warning about a possibly dangerous action.}}
|
||
Template:Box 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:Commandline
your command here |
{{Commandline|your command here}} |
||
| 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.}} |
