Difference between revisions of "Template:Iobdb show/doc"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(update doc)
imported>Primefac
(Undid revision 785146679 by Primefac (talk) meh, breaks old usage)
Line 4: Line 4:
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{iobdb show|search string|title}}
+
{{iobdb show|search+string|title}}
 
</pre>
 
</pre>
  
 
Produces:
 
Produces:
  
{{iobdb show|search string|title}}
+
{{iobdb show|search+string|title}}
  
 
Where:
 
Where:
Line 15: Line 15:
 
<pre>
 
<pre>
 
The play title is found at the Internet off-Broadway Database (www.lortel.org)
 
The play title is found at the Internet off-Broadway Database (www.lortel.org)
search string = all the words in the title  
+
search+string = all the words in the title, separated by the "+" character.
title = optional title to display in link</pre>
+
(search+string is optional - if omitted, will search on page name.)
 +
title = optional title to display in link, instead of using the page name</pre>
  
 
==Examples==
 
==Examples==
 
<pre>
 
<pre>
{{iobdb show|Uncle Vanya}}
+
{{iobdb show|Uncle+Vanya|Uncle Vanya}}
 
</pre>
 
</pre>
  
 
Produces:
 
Produces:
  
{{iobdb show|Uncle Vanya}}
+
{{iobdb show|Uncle+Vanya|Uncle Vanya}}
  
 
==See also==
 
==See also==

Revision as of 22:28, 11 June 2017

Usage

{{iobdb show|search+string|title}}

Produces:

title at the Internet Off-Broadway Database

Where:

The play title is found at the Internet off-Broadway Database (www.lortel.org)
search+string = all the words in the title, separated by the "+" character. 
(search+string is optional - if omitted, will search on page name.)
title = optional title to display in link, instead of using the page name

Examples

{{iobdb show|Uncle+Vanya|Uncle Vanya}}

Produces:

Uncle Vanya at the Internet Off-Broadway Database

See also