Search:  
Gentoo Wiki

Gentoo_Linux_Wiki:Text_Formatting_Templates

You are looking at the Template Listing.
Headers Text Formatting Informational & Notices Discusion & Bugs Gentoo Linux Wiki:Awards and Status Misc

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 likeWhat 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.}}

Retrieved from "http://www.gentoo-wiki.info/Gentoo_Linux_Wiki:Text_Formatting_Templates"

Last modified: Fri, 15 Dec 2006 07:08:00 +0000 Hits: 10,144