Middlebury

Difference between revisions of "Template:Hi"

m (Reverted edits by Afranco (Talk) to last version by Chunt)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[https://mediawiki.middlebury.edu/wiki/hi/{{{1}}} {{{2|{{{1}}}}}}]</includeonly>
+
<includeonly>[https://mediawiki.middlebury.edu/wiki/hi/{{{1}}} {{{2|{{{1}}}}}}]</includeonly> <noinclude>
<noinclude>
 
 
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><nowiki>{{hi|ArticleName}}</nowiki></code> &raquo; {{hi|ArticleName}}
+
** <code><nowiki>{{hi|Main_Page}}</nowiki> </code> &raquo; {{hi|Main_Page}}
 
* You can also include optional text:  
 
* You can also include optional text:  
** <code><nowiki>{{hi|ArticleName|some other text to display}}</nowiki></code> &raquo; {{hi|ArticleName|some other text to display}}
+
** <code><nowiki>{{hi|Main_Page|some other text to display}}</nowiki> </code> &raquo; {{hi|Main_Page|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