Difference between revisions of "Template:Project"

From Mushpedia
Jump to: navigation, search
m (bug fix, second try)
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch:{{{2}}}|short=[[NERON Projects#{{{1}}}|<span style="white-space:nowrap;">'''{{{1}}}'''</span>]]|[[NERON Projects#{{{1}}}|<span style="white-space:nowrap;">NERON Project</span> <span style="white-space:nowrap;">'''{{{1}}}'''</span>]]}}</onlyinclude></includeonly>
+
<includeonly><onlyinclude><span style="white-space:nowrap;">[[File:Conceptor_icon.png|class=icon-margin|link=NERON Projects|NERON project]] [[NERON Projects#{{#switch:{{{1}}}| GPU =General Patching Up | Sprinklers =Automatic Sprinklers | NERON project | NERON projects | project| projects | NERON Project | NERON Projects | Project| Projects = NERON Projects|{{{1}}} }}|'''{{{1}}}''']]</span></onlyinclude></includeonly>
  
Use this Template to refer to a specific project in the [[NERON Projects]] page. By default, the text is "NERON Project <project name>". Second argument ''short'' can be use to have only the project name. The name must match exactly (including capitalization).  
+
Use this Template to refer to a specific project in the [[NERON Projects]] page. The name must match exactly (including capitalization), except for a couple of abbreviations (GPU, Sprinklers).  
  
'''Usage:''' <pre>{{Project|<project name>|[short]}}</pre>
+
'''Usage:''' <pre>{{Project|<project name>}}</pre>
'''Demo:''' <pre>{{Project|General Patching Up|short}} and {{Project|General Patching Up}}</pre>
+
'''Demo:''' <pre>{{Project|General Patching Up}} </pre>
 
Result:
 
Result:
{{Project|General Patching Up|short}} and {{Project|General Patching Up}}
+
{{Project|General Patching Up}}
  
  
 
[[Category:Useful Templates|{{PAGENAME}}]]
 
[[Category:Useful Templates|{{PAGENAME}}]]

Latest revision as of 15:00, 22 June 2014


Use this Template to refer to a specific project in the NERON Projects page. The name must match exactly (including capitalization), except for a couple of abbreviations (GPU, Sprinklers).

Usage:
{{Project|<project name>}}
Demo:
{{Project|General Patching Up}} 

Result: NERON project General Patching Up