From Funtoo
(Difference between pages)
Jump to navigation
Jump to search
|
|
Line 1: |
Line 1: |
| <noinclude> | | <console> |
| This is the "Ebuild" template.
| | # ##i##foobar |
| It should be called in the following format:
| | </console> |
| <pre> | | |
| {{Ebuild
| | Hello. Hi. blah. Test. |
| |Summary=
| | |
| |CatPkg=
| | <syntaxhighlight lang="php"> |
| |Maintainer=
| | <?php |
| |Repository=
| | $v = "string"; // sample initialization |
| }}
| | ?> |
| </pre> | | html text |
| Edit the page to see the template text.
| | <? |
| </noinclude><includeonly><div style="float: right; width: 30%; padding: 1em; margin-left: 1em; margin-bottom: 1em; border-radius: 10px; border: 1px solid #ddd; background-color: #efefef;" id="eb_infobox">
| | echo $v; // end of php code |
| <b><tt>[[CatPkg::{{{CatPkg|}}}]]</tt></b> | | ?> |
| <hr>
| | </syntaxhighlight> |
| <table border="0" width="100%">
| | |
| {{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}}</td></tr> |}}{{#if: {{{Repository|}}}|<tr><td><i>Source Repository:</i></td><td>[[Repository::Repository:{{{Repository}}}|{{{Repository}}}]] </td></tr>|}}</table><hr>
| | http://www.funtoo.org |
| <b>Summary:</b> [[Summary::{{{Summary|}}}]]
| |
| </div><div id="ebuild_header"><div id="ebuild_logo" style="padding-bottom: 1em;">[[File:ebuild.png|link=|frameless]]</div><div id="ebuild_title"> | |
| = {{PAGENAME}} =
| |
| </div>
| |
| </includeonly>
| |
Revision as of 08:04, June 14, 2014
root # foobar
Hello. Hi. blah. Test.
<?php
$v = "string"; // sample initialization
?>
html text
<?
echo $v; // end of php code
?>
http://www.funtoo.org