Middlebury

Difference between revisions of "Template:Hi"

 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Usage
 
Usage
 
* Add a link to a page in the hi (Helpdesk Internal) wiki:
 
* Add a link to a page in the hi (Helpdesk Internal) wiki:
** <code>
+
** <code><nowiki>{{hi|Main_Page}}</nowiki> </code> &raquo; {{hi|Main_Page}}
<nowiki>{{hi|ArticleName}}</nowiki> </code> &raquo; {{hi|ArticleName}}
 
 
* You can also include optional text:  
 
* You can also include optional text:  
** <code>
+
** <code><nowiki>{{hi|Main_Page|some other text to display}}</nowiki> </code> &raquo; {{hi|Main_Page|some other text to display}}
<nowiki>{{hi|ArticleName|some other text to display}}</nowiki> </code> &raquo; {{hi|ArticleName|some other text to display}}
 
  
Warning: This template seems to have a bug where if this HI template link is inserted into a paragraph and there is a '''space''' directly after it, the rest of that paragraph will be shoved into a lower dotted line like this: (If you go to Edit, you'll see that the following blah blah blah section should all be on the same line!)
 
  
Paragraph blah blah blah {{hi|Main Page|HI Main Page}} blah blah blah end of paragraph.
+
'''Warning: You must use underscores in article names. Example "Main_Page" rather than "Main Page". '''
 
 
Unfortunately, the only workaround I know of so far is to format sentences so that any HI links go at the end of the sentence, with a period directly after them, so that this problem is avoided.
 
  
 
</noinclude>
 
</noinclude>

Latest revision as of 12:29, 16 December 2008

Usage

  • Add a link to a page in the hi (Helpdesk Internal) wiki:
  • You can also include optional text:


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


Powered by MediaWiki