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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(test)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{id|{{{1|}}}}}} |
+
<includeonly>{{#iferror: {{#expr: {{{id|{{{1|}}}}}} * 1}}
  {{#if: {{{name|{{{title|{{{2|}}}}}}}}} |
+
| {{citation error|no valid <kbd>id</kbd> number specified|cite summitpost|nocat={{{template doc demo|}}}}}
    {{Cite web
+
| {{#ifeq: {{{name|{{{title|{{{2|}}}}}}}}} |
      | url = http://www.summitpost.org/show/mountain_link.pl/mountain_id/<!--
+
  | {{citation error|no <kbd>name</kbd> specified|cite summitpost|nocat={{{template doc demo|}}}}}
              -->{{urlencode:{{{id|{{{1|}}}}}}}}/mountain.html
+
  | {{cite web
      | title = {{{name|{{{title|{{{2|}}}}}}}}}
+
    | url = http://www.summitpost.org/page/{{urlencode:{{{id|{{{1|}}}}}}}}
      | publisher = SummitPost.org  
+
    | title = {{{name|{{{title|{{{2|}}}}}}}}}
      | accesssate = {{{accessdate|{{{3|}}}}}}xxxx
+
    | date = {{{date|{{{year|}}}}}}
 +
    | publisher = SummitPost.org
 +
    | accessdate = {{{accessdate|{{{3|}}}}}}
 
     }}
 
     }}
  | {{Citation error|You must specify {{para|name}}|cite summitpost}}
 
 
   }}
 
   }}
| {{Citation error|You must specify {{para|id}}|cite summitpost}}
+
}}</includeonly><noinclude>
}}</includeonly>
+
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/sandbox
 +
| {{template sandbox notice}}
 +
| {{documentation}}
 +
}}
 +
<!--
 +
  PLEASE ADD CATEGORIES AND INTERWIKIS
 +
  TO THE /doc SUBPAGE, THANKS
 +
-->
 +
</noinclude>

Latest revision as of 06:27, 5 August 2018