Difference between pages "Help:Funtoo Editing Guidelines" and "MediaWiki talk:Common.css"

(Difference between pages)
(<console>)
 
m (fix crashing)
 
Line 1: Line 1:
This guide is meant to serve as a reference for those who are interested in helping improve the Funtoo wiki.
+
==funtoo watermark==
 
+
<nowiki>
== &#123;&#123;Kernelop&#125;&#125; ==
+
/*adjust transparency with the .90 values of rgba*/
To display kernel options, we encourage you to use the <tt>kernelop</tt> template. To use the <tt>kernelop</tt> template, create an entry similar to the following example:
+
/*adjust the watermark image via the url statement*/
<pre>
+
body{
{{kernelop|title=foo,bar|desc=
+
  background-image:
kernel options pasted from "make menuconfig"
+
          linear-gradient(
<&#47;pre>}}
+
      rgba(255, 255, 255, 0.90),  
</pre>
+
      rgba(255, 255, 255, 0.90)
 
+
    ),
Adding this entry will give you the following output:
+
      url('http://i.imgur.com/cYU7hXs.jpg') !important;
{{kernelop|title=foo,bar|desc=
+
    background-repeat: no-repeat;
kernel options
+
    background-attachment: fixed;
}}
+
    background-size: 100%;
 
+
    background-repeat: repeat-y;
Here's a more concrete example:
+
}
{{kernelop|title=File systems|desc=
+
</nowiki>
<M> Second extended fs support         
+
[ ]  Ext2 extended attributes         
+
[ ]  Ext2 execute in place support   
+
<M> Ext3 journalling file system support
+
}}
+
 
+
Examples of usage:
+
* [[Fglrx]]
+
* [[Acpid]]
+
* [[Microcode]]
+
 
+
== &#123;&#123;File&#125;&#125; ==
+
To display the contents of a file, use the <tt>file</tt> template.
+
<pre>
+
{{file
+
| file name | <pre>
+
contents of the file
+
<&#47;pre>}}
+
</pre>
+
 
+
This produces:
+
{{file
+
| file name | <pre>
+
contents of the file
+
</pre>}}
+
 
+
Examples of usage:
+
* [[UEFI Install Guide]]
+
* [[MediaWiki]]
+
* [[Clang]]
+
 
+
== &#60;tt&#62; and &#60;code&#62; ==
+
To emphasize filenames, commands, and other technical "jargon," use the  <tt>&#60;tt&#62;</tt> or <tt>&#60;code&#62;</tt> option. To use these, follow the example below:
+
<pre>
+
The <tt>/etc/fstab</tt> file is an important one. Another important file is <code>/boot/grub/grub.cfg</code>.
+
</pre>
+
 
+
This example produces the following output (notice the difference between the fonts?): <br> The <tt>/etc/fstab</tt> file is an important one. Another important file is <code>/boot/grub/grub.cfg</code>.
+
 
+
== &#60;console&#62; ==
+
To indicate that a user should run commands in a terminal, use <tt>&#60;console&#62;</tt>:
+
 
+
 
+
For a root console:
+
<pre>
+
<console>
+
###i## run a command as root
+
</console>
+
</pre>
+
Produces:
+
<console>
+
###i## run a command as root
+
</console>
+
 
+
{{Fancyimportant|The <tt>##i##</tt> text tags the rest of the line as being ''user input'' ("i" is for "input").}}
+
 
+
Examples of usage:
+
* [[Rootfs over encrypted lvm]]
+
* [[Boot-Update]]
+
* [[Fonts]]
+
For a non-root console:
+
<pre>
+
<console>
+
$##i## run a command as user
+
</console>
+
</pre>
+
Produces:
+
<console>
+
$##i## run a command as user
+
</console>
+
Examples of usage:
+
* [[Zope HOWTO]]
+
* [[Benchmarking]]
+
 
+
[[Category:Wiki Development]]
+

Revision as of 14:21, December 6, 2014

funtoo watermark

/*adjust transparency with the .90 values of rgba*/ /*adjust the watermark image via the url statement*/ body{ background-image: linear-gradient( rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90) ), url('http://i.imgur.com/cYU7hXs.jpg') !important; background-repeat: no-repeat; background-attachment: fixed; background-size: 100%; background-repeat: repeat-y; }