Difference between pages "Template:Repository" and "Test"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
(Tag: visualeditor)
 
Line 1: Line 1:
<noinclude>
+
<console>
This is the "Repository" template.
+
# ##i##foobar
It should be called in the following format:
+
</console>
<pre>
+
 
{{Repository
+
Hello. Hi. blah. Test.
|Repository Type=
+
 
|Organization=
+
<syntaxhighlight lang="php">
|Homepage=
+
<?php
|Source URI=
+
    $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="ov_infobox">
+
    echo $v;        // end of php code
<table border="0" width="100%">
+
?>
<tr><td><i>Repository Type:</i></td><td>[[Repository Type::{{{Repository Type|}}}]]</td></tr>
+
</syntaxhighlight>
<tr><td><i>Organization:</i></td><td>[[Organization::Organization:{{{Organization|}}}|{{{Organization|}}}]]</td></tr>
+
 
<tr><td></td><td>[[Homepage::{{{Homepage|}}}|Home Page]]</td></tr>
+
http://www.funtoo.org
{{#if:{{{Source URI|}}}|<tr><td></td><td>[[Source URI::{{{Source URI|}}}|Repository]]</td></tr>|}}
+
</table>
+
</div>
+
= {{PAGENAME}} =
+
</includeonly>
+

Revision as of 08:04, 14 June 2014

# foobar

Hello. Hi. blah. Test.

<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;         // end of php code
?>

http://www.funtoo.org