Difference between revisions of "Showurl"

From Mibbit Wiki
Jump to: navigation, search
(ShowURL)
 
m (type)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|name=showurl
 
|name=showurl
 
|parameters=url
 
|parameters=url
|desc=Opens the specified URL in the [[UI:Extra Content Window|Extra Content Window]].
+
|desc=Opens the specified URL in the [[UI:Extra Content Area|Extra Content Area]].
 
|client=mw
 
|client=mw
 +
|type=External Reference
 
}}</onlyinclude>
 
}}</onlyinclude>
  
Line 10: Line 11:
 
{{Alias
 
{{Alias
 
|name=Wiki
 
|name=Wiki
|command=showurl http://wiki.mibbit.com/index.php/ $+ $1 {{|}} [[Command:Echo|echo]] http://wiki.mibbit.com/index.php/ $+ $1
+
|command=showurl <nowiki>http://wiki.mibbit.com/index.php/</nowiki> $+ $1 {{!}} [[Command:Echo|echo]] <nowiki>http://wiki.mibbit.com/index.php/</nowiki> $+ $1
 
|output=Image to come.
 
|output=Image to come.
 
}}
 
}}

Latest revision as of 12:19, 25 March 2011

{{#switch: mw |m={{#set:Client=Main}} |w={{#set:Client=Widget}} |mw={{#set:Client=Main}} {{#set:Client=Widget}} }}{{#set:Type=External Reference}}/showurl {{#if:url|url|}}{{#if: | [{{{disabled}}}]|}}{{#if: Opens the specified URL in the Extra Content Area.|:Opens the specified URL in the Extra Content Area.|}}{{#if:

| :Output:  {{{output}}} | }}

An excellent usage of this command is to create an input option that opens a page in the Extra Content Area for you based on a term you give it. For example, an alias that opens a page on this wiki would be

/Wiki {{{parameters}}}

showurl http://wiki.mibbit.com/index.php/ $+ $1 | echo http://wiki.mibbit.com/index.php/ $+ $1