Difference between revisions of "Template:Cite gvp/sandbox"
Jump to navigation
Jump to search
imported>Droll (test) |
imported>Droll (tweaked) |
||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{name|{{{title|{{{2|}}}}}}}}}| <!-- if no name assume link to main page wanted --> | + | <includeonly>{{#ifeq:{{{name|{{{title|{{{2|}}}}}}}}}| <!-- if no name assume link to main page wanted --> |
+ | | {{cite web | ||
+ | | url = http://www.volcano.si.edu | ||
+ | | title = Global Volcanism Program | ||
+ | | accessdate = {{{accessdate|{{{3|}}}}}} | ||
+ | | date = {{{entrydate|{{{4|}}}}}} | ||
+ | | publisher = [[Smithsonian Institution]] | ||
+ | }} | ||
+ | | {{#if: {{{1|{{{vnum|{{{id|}}}}}}}}} <!-- for compatibility with old style volcano numbers --> | ||
| {{cite web | | {{cite web | ||
− | | url = http://www.volcano.si.edu | + | | url = http://www.volcano.si.edu/world/volcano.cfm?vnum={{urlencode:{{{1|{{{vnum|{{{id|}}}}}}}}}}} |
− | | title = | + | | title = {{{name|{{{title|{{{2|}}}}}}}}} |
| accessdate = {{{accessdate|{{{3|}}}}}} | | accessdate = {{{accessdate|{{{3|}}}}}} | ||
| date = {{{entrydate|{{{4|}}}}}} | | date = {{{entrydate|{{{4|}}}}}} | ||
+ | | website = [[Global Volcanism Program]] | ||
| publisher = [[Smithsonian Institution]] | | publisher = [[Smithsonian Institution]] | ||
}} | }} | ||
− | | {{#if: {{{ | + | | {{#if: {{{vn|}}} |
| {{cite web | | {{cite web | ||
− | | url = http://www.volcano.si.edu | + | | url = http://www.volcano.si.edu/volcano.cfm?vn={{{vn|}}} |
− | | title = {{{name|{{{title| | + | | title = {{{name|{{{title|}}}}}} |
− | | accessdate = {{{accessdate | + | | accessdate = {{{accessdate|}}} |
− | | date = {{{entrydate| | + | | date = {{{entrydate|}}} |
| website = [[Global Volcanism Program]] | | website = [[Global Volcanism Program]] | ||
| publisher = [[Smithsonian Institution]] | | publisher = [[Smithsonian Institution]] | ||
}} | }} | ||
− | + | | {{citation error|no volcano number specified|cite gvp|nocat={{{template doc demo|}}}}} <!-- name but no volcano number is an error --> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | }}<noinclude> | + | }} |
+ | }}</includeonly><noinclude> | ||
<!--{{documentation}}--> | <!--{{documentation}}--> | ||
</noinclude> | </noinclude> |
Revision as of 00:53, 31 December 2014