Difference between revisions of "Template:Ebuild"

From Funtoo
Jump to: navigation, search
(cargo-ify ebuilds)
Line 11: Line 11:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 +
{{#cargo_define:
 +
_table=ebuilds
 +
|CatPkg=Text
 +
|RepoID=Text
 +
|Homepage=Text
 +
|Summary=WikiText
 +
|USE=Text
 +
}}
 
</noinclude><includeonly>{{#widget:AddThis}}<div class="container" style="margin-top: 20px;"><div class="row">
 
</noinclude><includeonly>{{#widget:AddThis}}<div class="container" style="margin-top: 20px;"><div class="row">
 
<div class="col-md-3 col-md-push-9">
 
<div class="col-md-3 col-md-push-9">
Line 36: Line 44:
 
|keywords={{{CatPkg}}},ebuild,gentoo,funtoo
 
|keywords={{{CatPkg}}},ebuild,gentoo,funtoo
 
|description=A Funtoo Linux ebuild for {{{CatPkg}}}: {{{Summary|}}}
 
|description=A Funtoo Linux ebuild for {{{CatPkg}}}: {{{Summary|}}}
}}{{Tip|We welcome improvements to this page. To edit this page, {{CreateAccount}}. Then [[{{#special:userlogin}}|log in]] and then {{#formlink:form=Ebuild|link text=click here to edit this page|target={{FULLPAGENAME}}}}. See our [[Help:Funtoo_Editing_Guidelines|editing guidelines]] to becoming a wiki-editing pro.}}
+
}}{{Tip|We welcome improvements to this page. To edit this page, {{CreateAccount}}. Then [[{{#special:userlogin}}|log in]] and then {{#formlink:form=Ebuild|link text=click here to edit this page|target={{FULLPAGENAME}}}}. See our [[Help:Funtoo_Editing_Guidelines|editing guidelines]] to becoming a wiki-editing pro.}}{{#cargo_store:
 +
_table=ebuilds
 +
|CatPkg={{{CatPkg|}}}
 +
|RepoID={{#var:repoid}}
 +
|Homepage={{{Homepage|}}}
 +
|Summary={{{Summary}}}
 +
|USE={{#external_value:use}}
 +
}}
 
</includeonly>
 
</includeonly>

Revision as of 07:51, June 23, 2015

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

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

Edit the page to see the template text. {{#cargo_define: _table=ebuilds |CatPkg=Text |RepoID=Text |Homepage=Text |Summary=WikiText |USE=Text }}