Difference between revisions of "Template:Sandbox"

From ArchWiki
Jump to: navigation, search
(test)
(use #if: for comparison with empty string)
 
(178 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]</noinclude><includeonly><div class="toc" style="text-align: center; margin-bottom: 1em;">'''[[Creating Packages|Package creation guidelines]]'''
+
{{#if: {{{url}}}
----
+
| <span class="plainlinks archwiki-template-man"
[[Eclipse Plugin Package Guidelines|Eclipse]] &ndash; [[Gnome Package Guidelines|GNOME]] &ndash; [[Haskell Package Guidelines|Haskell]] &ndash; [[Java Package Guidelines|Java]] &ndash; [[Kernel Module Package Guidelines|Kernel]] &ndash; [[Lisp Package Guidelines|Lisp]] &ndash; [[MinGW PKGBUILD Guidelines|MinGW]] &ndash; [[OCaml Package Guidelines|OCaml]] &ndash; [[Perl Package Guidelines|Perl]] &ndash; [[Python Package Guidelines|Python]] &ndash; [[Ruby Gem Package Guidelines|Ruby]] &ndash; [[VCS PKGBUILD Guidelines|VCS]] &ndash; [[Wine PKGBUILD Guidelines|Wine]] &ndash; [[Nonfree Applications Package Guidelines|Other]]
+
        title="$ man {{{1}}} {{{2}}}"
</div></includeonly>
+
        >[{{{url|http://man7.org/linux/man-pages/man{{{1}}}/{{urlencode:{{{2}}}}}.{{{1}}}.html{{#if: {{{3|}}}
 +
            | &#0035;{{urlencode:{{{3|}}}|PATH}}
 +
            | }}}}} {{{2}}}({{{1}}})]</span>
 +
| {{ic|{{{2}}}({{{1}}})}}
 +
}}<noinclude>
 +
 
 +
# foo
 +
## bar {{Template:Sandbox|42|test}}
 +
## bar {{Template:Sandbox|42|test|url=}}
 +
</noinclude>

Latest revision as of 18:54, 26 August 2016

{{{2}}}({{{1}}})

  1. foo
    1. bar test(42)
    2. bar test(42)