Middlebury

Difference between revisions of "Template:Hi"

(Changing examples to use a real page.)
Line 5: Line 5:
  
  
<nowiki>{{hi|ArticleName}}</nowiki> </code> &raquo; {{hi|ArticleName}}
+
 
 +
<nowiki>{{hi|Main_Page}}</nowiki> </code> &raquo; {{hi|Main_Page}}
 
* You can also include optional text:  
 
* You can also include optional text:  
 
** <code>
 
** <code>
  
  
<nowiki>{{hi|ArticleName|some other text to display}}</nowiki> </code> &raquo; {{hi|ArticleName|some other text to display}}
 
  
Warning: You must use underscores in article names. Example "Main_Page" rather than "Main Page".  
+
<nowiki>{{hi|Main_Page|some other text to display}}</nowiki> </code> &raquo; {{hi|Main_Page|some other text to display}}
 +
 
 +
 
 +
 
 +
''Warning: You must use underscores in article names. Example "Main_Page" rather than "Main Page". ''
  
I'm not sure what changed, but the space-after-template bug seems to be gone now. -- [[User:Afranco|Franco, Adam]] 17:25, 16 December 2008 (UTC)
+
* I'm not sure what changed, but the space-after-template bug seems to be gone now. -- [[User:Afranco|Franco, Adam]] 17:25, 16 December 2008 (UTC)
  
 
</noinclude>
 
</noinclude>

Revision as of 12:28, 16 December 2008

Usage

  • Add a link to a page in the hi (Helpdesk Internal) wiki:


{{hi|Main_Page}} » Main_Page

  • You can also include optional text:


{{hi|Main_Page|some other text to display}} » some other text to display


Warning: You must use underscores in article names. Example "Main_Page" rather than "Main Page".

  • I'm not sure what changed, but the space-after-template bug seems to be gone now. -- Franco, Adam 17:25, 16 December 2008 (UTC)