Difference between revisions of "Template:Citation/quick/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(fixed to handle empty "archiveurl=")
imported>Wikid77
(fixed to handle empty "publisher=" or "location=" or "isbn=" or "pages="; shows "at=xx".)
Line 129: Line 129:
 
     }}<!--endif {work}-->
 
     }}<!--endif {work}-->
 
   }}<!--endif-else {title}
 
   }}<!--endif-else {title}
------------------------------------------------------- Pub/location/volume
+
--------------------------------------------------- Pub/location/volume
 
-->{{
 
-->{{
   #if:{{{publisher|{{{location|{{{place|{{{agency|<!--
+
   #if:{{{publisher|}}}{{{location|{{{place|{{{agency|<!--
       -->}}} }}} }}} }}}
+
       -->}}} }}} }}}
 
   |<!--then take time to check each...-->{{
 
   |<!--then take time to check each...-->{{
 
     #if:{{{journal|{{{work|{{{newspaper|}}} }}} }}}
 
     #if:{{{journal|{{{work|{{{newspaper|}}} }}} }}}
 
       |<nowiki/> ({{
 
       |<nowiki/> ({{
         #if:{{{location|{{{place|}}} }}}
+
         #if:{{{location|}}}{{{place|}}}
 
           |{{{location|{{{place}}}}}}{{
 
           |{{{location|{{{place}}}}}}{{
 
             #if:{{{publisher|{{{agency|}}} }}}
 
             #if:{{{publisher|{{{agency|}}} }}}
Line 180: Line 180:
 
-------------------------------------------------------- Pages/page
 
-------------------------------------------------------- Pages/page
 
-->{{
 
-->{{
   #if:{{{pages|{{{page|}}} }}}
+
   #if:{{{pages|}}}{{{page|}}}
 
     |{{
 
     |{{
 
     #if:{{{pages|}}}
 
     #if:{{{pages|}}}
Line 195: Line 195:
 
       }}
 
       }}
 
     }}
 
     }}
   }}<!--endif {pages|page}
+
   }}<!--endif {pages|page}-->{{{at|}}}<!--
--------------------------------------------- doi / ISBN / ISSN / archiveurl
+
-------------------------------------------- doi/ISBN/ISSN / archiveurl
 
-->{{
 
-->{{
   #if:{{{isbn|{{{issn|{{{archiveurl|{{{doi|{{{pmid|<!--
+
   #if:{{{isbn|}}}{{{issn|}}}{{{archiveurl|}}}{{{doi|{{{pmid|<!--
       -->}}} }}} }}} }}} }}}
+
       -->}}} }}}
 
   |{{
 
   |{{
 
     #if:{{{doi|}}}
 
     #if:{{{doi|}}}
Line 293: Line 293:
 
--26Nov12 Added authorlink, authorlink2 (but not: author1-link, etc.)
 
--26Nov12 Added authorlink, authorlink2 (but not: author1-link, etc.)
 
--19Feb13 When there was no date and no year param given, author (or last, first, etc.) was not being followed by trailing ". ". Fixed.
 
--19Feb13 When there was no date and no year param given, author (or last, first, etc.) was not being followed by trailing ". ". Fixed.
 +
--27Jun13 Fixed to handle empty "archiveurl=" to use "url=".
 +
--27Jun13 Fixed to handle empty "publisher=" or "location=" or "isbn=".
 +
--27Jun13 Fixed to handle empty "pages=" and show "at=xx".
 
--
 
--
 
-->
 
-->

Revision as of 05:36, 27 June 2013

"{{{title}}}".

Template documentation[create]