Difference between pages "MediaWiki:Common.css" and "Template:Ebuild"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
.shell,pre,.mw-code,code,tt,div.mw-geshi {
+
<noinclude>
font-size:12px;
+
This is the "Ebuild" template.
font-family:'andale mono','lucida console', monospace;
+
It should be called in the following format:
}
+
<pre>
 
+
{{Ebuild
.shell,pre,.mw-code,div.mw-geshi {
+
|Summary=
overflow-x:auto;
+
|CatPkg=
overflow-y:hidden;
+
|Maintainer=
border:1.5px solid #ccc;
+
|Repository=
border-radius:5px;
+
}}
line-height:1.2em;
+
</pre>
margin:0;
+
Edit the page to see the template text.
padding:10px;
+
</noinclude><includeonly>
}
+
<h1 id="first-heading">{{PAGENAME}}</h1>
 
+
<div class="ebuild_subtitle">[[Summary::{{{Summary|}}}]]</div>
.code {
+
<div id="content-spacer"></div>
font-family:'andale mono', 'lucida console', monospace;
+
[[Category:Ebuilds|{{PAGENAME}}]] __NOEDITSECTION__ __NOTOC__ __NOTITLE__
font-size:12px;
+
<div style="float: right; width: 10em; border: 1px #888;" id="eb_infobox">[[File:ebuild.png|link=|frameless]{#if: {{{Maintainer|}}} |;Current Maintainer(s): {{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}} |}}{{#if: {{{Repository|}}}|
border:none;
+
;Source Repository: [[Repository::Repository:{{{Repository}}}|{{{Repository}}}]] |}}
border-radius:10px;
+
;Ebuild Category/Pkg: [[CatPkg::{{{CatPkg|}}}]]
background-color:#073642;
+
</div>
color:#aaa;
+
</includeonly>
overflow-x:auto;
+
overflow-y:hidden;
+
line-height:1.5em;
+
}
+
 
+
.code b {
+
color:#fff;
+
font-weight:700;
+
}
+
 
+
.code_input {
+
color:#ff8040;
+
font-weight:700;
+
}
+
 
+
.code_red {
+
color:red;
+
}
+
 
+
.code_blue {
+
color:#88f;
+
}
+
 
+
.code_green {
+
color:#0f0;
+
}
+
 
+
.code_yellow {
+
color:#ff0;
+
}
+
 
+
/* Ebuild/Package CSS */
+
 
+
.ns-502 #first-heading {
+
  font-family: 'Linux Libertine', Georgia, Times, serif;
+
  margin-bottom: 0.25em;
+
  font-size: 1.6em;
+
}
+
 
+
ns-502 #content-spacer {
+
  display: block;
+
  line-height: 1em;
+
}
+

Revision as of 23:56, 9 June 2014

This is the "Ebuild" template. It should be called in the following format:

{{Ebuild
|Summary=
|CatPkg=
|Maintainer=
|Repository=
}}

Edit the page to see the template text.