Difference between revisions of "Template:Project"

From Mushpedia
Jump to: navigation, search
(Enabling a second option for shorter text.)
m (bug fix)
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>{{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>
  
 
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. 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).  

Revision as of 19:47, 14 June 2014


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).

Usage:
{{Project|<project name>|[short]}}
Demo:
{{Project|General Patching Up|short}} and {{Project|General Patching Up}}

Result: NERON project General Patching Up and NERON project General Patching Up