Difference between revisions of "Template:WorldCat"

From FamilySearch Wiki
Jump to: navigation, search
(test)
(add 'disp' parameter)
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{nobreak|{{#ifeq:{{{1|}}}|short1|yes|}}}}}|yes||<a href="http://www.worldcat.org/oclc/{{{1}}}/editions?editionsView=true&referer=di">}} WorldCat {{{1}}}</a>}}
+
<includeonly>{{#if: {{{1|}}} | {{#ifeq: {{{2}}} | isbn | [http://www.worldcat.org/isbn/{{{1}}} {{{disp|WorldCat {{{1}}}}}}] | {{#ifeq: {{{2}}} | issn | [http://www.worldcat.org/issn/{{{1}}} {{{disp|WorldCat {{{1}}}}}}] | [http://www.worldcat.org/oclc/{{{1}}}/editions {{{disp|WorldCat {{{1}}}}}}] }} }} | <span style="color:#FF0000;">INVALID/MISSING WorldCat number</span> }}</includeonly><noinclude>
{{#if:{{{1}}} | <a href="http://www.worldcat.org/oclc/{{{1}}}/editions?editionsView=true&referer=di">}} WorldCat {{{1}}}&lt;/a&gt; | INVALID WorldCat template parameter}}  
 
 
 
<noinclude>
 
 
 
 
{{documentation}}
 
{{documentation}}
 
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->
 
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->
Line 16: Line 12:
 
--
 
--
 
--End Template:WorldCat-->
 
--End Template:WorldCat-->
</noinclude>  
+
</noinclude>
 
 
&nbsp;
 
 
 
&nbsp;
 

Revision as of 11:50, 2 September 2011

[view] [edit] [history] [purge] Documentation icon Template documentation