Gentoo Linux Wiki:Text Formatting Templates

From Gentoo Linux Wiki

Jump to: navigation, search
You are looking at the Template Listing.
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
Code: Code Title
Code Content
More code content
Even more code
 {{Box Code|Code Title|
  <nowiki>
  Code Content
  More code content
  Even more code
  </nowiki>
 }}
 
Template:Box File
File: File Title
File content,
more content
even more content
 {{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


1. Save your current firewall rules iptables-save > /etc/iptables.bak
2. Open /etc/iptables.bak in your favorite text editor
3. Add the following rule(s) in appropriate order (according to your existing rules).

Firewall Rule: Service Name
-A INPUT -s 127.0.0.1 -j ACCEPT
-A INPUT -j DROP

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
Linux Kernel Configuration: Name of Config
Code maturity level options  --->
General setup  --->
Loadable module support  --->
Processor type and features  --->
Power management options (ACPI, APM)  --->
{{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
machine ~#
whoamiImage:CursorOFF.gif
or
machine ~#
whoamiImage:CursorON.gif
{|
{{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

sys-apps/acpid

{{Ebuild|sys-apps/acpid}}

Template:Codeline

Option "DPMS"

{{Codeline|Option "DPMS"}}

Template:Keyword

~x86

{{Keyword|~x86}}

Template:Box FIXME
FIXME: Something on this page demands attention and should be fixed.

{{Box FIXME|Something on this page demands attention and should be fixed.}}

Personal tools