Difference between revisions of "Template:Nginx docurl"

From Biowikifarm Metawiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}<!--
+
<includeonly><span class="plainlinks" title="Link to Nginx documentation">{{#switch: {{{1|}}}<!--
-->| location=<span class="plainlinks">[http://wiki.nginx.org/HttpCoreModule#location location]</span><!--
+
-->| location=[http://wiki.nginx.org/HttpCoreModule#location location]</span><!--
 
-->| rewrite=<span class="plainlinks">[http://wiki.nginx.org/HttpRewriteModule#rewrite rewrite]</span><!--
 
-->| rewrite=<span class="plainlinks">[http://wiki.nginx.org/HttpRewriteModule#rewrite rewrite]</span><!--
-->| try_files=<span class="plainlinks">[http://wiki.nginx.org/HttpCoreModule#try_files try_files]</span><!--
+
-->| try_files=<span class="plainlinks">[http://wiki.nginx.org/HttpCoreModule#try_files try_files]<!--
-->| #default = <!--
+
-->| #default = Unknoknown docurl: {{{1|}}}. Specifiy it at [[template:Nginx docurl]].<!--
-->}}<!-- end switch
+
-->}}</span><!-- end switch
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
Print Nginx URLs to point to the documentation:
 
Print Nginx URLs to point to the documentation:
Line 12: Line 12:
 
!Result
 
!Result
 
|-
 
|-
|{{#tag: nowiki|{{{{PAGENAME}} | location}}}}
+
|<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>| location}}</nowiki>
|
+
|{{Nginx docurl | location}}
 +
|-
 +
|<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>| rewrite}}</nowiki>
 +
|{{Nginx docurl | rewrite}}
 +
|-
 +
|<nowiki>{{</nowiki>{{PAGENAME}} <nowiki>| try_files}}</nowiki>
 +
|{{Nginx docurl | try_files}}
 
|}
 
|}
 +
[[Category: Helper tool for documentation]]
 
</noinclude>
 
</noinclude>

Revision as of 15:08, 14 January 2013

Print Nginx URLs to point to the documentation:

Usage Result
{{Nginx docurl | location}} location
{{Nginx docurl | rewrite}} rewrite
{{Nginx docurl | try_files}} try_files