Difference between revisions of "Template:Cite peakbagger/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(test)
imported>Droll
(test)
Line 2: Line 2:
 
   {{#if: {{{title|{{{name|{{{2|}}}}}}}}} |
 
   {{#if: {{{title|{{{name|{{{2|}}}}}}}}} |
 
     {{cite web
 
     {{cite web
     | url = {{#if:{{{id|{{{pid|{{{1|}}}}}}}}}
+
     | url = {{#if:{{{id|{{{pid|{{{1|}}}}}}}}} | http://www.peakbagger.com/peak.aspx?pid={{{id|{{{pid|{{{1|}}}}}}}}}
            | http://www.peakbagger.com/peak.aspx?pid={{{id|{{{pid|{{{1|}}}}}}}}}
+
             | {{#if:{{{rid|}}} | http://www.peakbagger.com/range.aspx?rid={{{rid|}}}
             | {{#if:{{{rid|}}}
+
               | {{#if:{{{lid|}}} | {{#switch:{{lc|{{{units|}}}}}
              | http://www.peakbagger.com/range.aspx?rid={{{rid|}}}
+
                | feet | ft = http://www.peakbagger.com/list.aspx?lid={{{lid|}}}&u=ft
               | {{#if:{{{lid|}}}|http://www.peakbagger.com/list.aspx?lid={{{lid|}}}<!--
+
                | meters | m = http://www.peakbagger.com/list.aspx?lid={{{lid|}}}&u=m
                -->{{#if:{{{units|}}}
+
                | http://www.peakbagger.com/list.aspx?lid={{{lid|}}}
                    | {{#switch:{{lc|{{{units|}}}}}
+
                }}}}
                      | feet | ft = &u=ft
 
                      | meters | m = &u=m
 
                      | {{citation error|invalid unit type specified|cite peakbagger|nocat={{{template doc demo|}}}}} }}}}}}
 
 
               }}
 
               }}
 
             }}
 
             }}
Line 18: Line 15:
 
     | date = {{{date|}}}
 
     | date = {{{date|}}}
 
     | accessdate = {{{accessdate|{{{3|}}}}}}
 
     | accessdate = {{{accessdate|{{{3|}}}}}}
     | ref = {{{ref|}}}}}
+
     | ref = {{{ref|}}} }}
 
   | {{citation error|no {{para|name}} specified|cite peakbagger|nocat={{{template doc demo|}}}}}
 
   | {{citation error|no {{para|name}} specified|cite peakbagger|nocat={{{template doc demo|}}}}}
 
   }}
 
   }}

Revision as of 20:43, 8 February 2013