Template:Cite web: Difference between revisions

    m>Happy-melon
    (you cannot use parameter defaults when people are going to leave parameters blank but defined)
    m>Happy-melon
    (remove alternative parameter names that were not supported in original code, per talk)
    Line 1: Line 1:
    {{Citation/core
    {{Citation/core
       |Citation class=web
       |Citation class=web
       |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
       |Surname1 = {{#if: {{{author|}}} | {{{author}}} | {{{last|}}} }}
       |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
       |Surname2 = {{#if: {{{author2|}}} | {{{author2}}} | {{{last2|}}} }}
       |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
       |Surname3 = {{#if: {{{author3|}}} | {{{author3}}} | {{{last3|}}} }}
       |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
       |Surname4 = {{#if: {{{author4|}}} | {{{author4}}} | {{{last4|}}} }}
       |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
       |Surname5 = {{#if: {{{author5|}}} | {{{author5}}} | {{{last5|}}} }}
       |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
       |Surname6 = {{#if: {{{author6|}}} | {{{author6}}} | {{{last6|}}} }}
       |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
       |Surname7 = {{#if: {{{author7|}}} | {{{author7}}} | {{{last7|}}} }}
       |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
       |Surname8 = {{#if: {{{author8|}}} | {{{author8}}} | {{{last8|}}} }}
       |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
       |Surname9 = {{#if: {{{author9|}}} | {{{author9}}} | {{{last9|}}} }}
       |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
       |Given1 = {{{first|}}}
       |Given2 = {{{first2|{{{given2|}}}}}}
       |Given2 = {{{first2|}}}
       |Given3 = {{{first3|{{{given3|}}}}}}
       |Given3 = {{{first3|}}}
       |Given4 = {{{first4|{{{given4|}}}}}}
       |Given4 = {{{first4|}}}
       |Given5 = {{{first5|{{{given5|}}}}}}
       |Given5 = {{{first5|}}}
       |Given6 = {{{first6|{{{given6|}}}}}}
       |Given6 = {{{first6|}}}
       |Given7 = {{{first7|{{{given7|}}}}}}
       |Given7 = {{{first7|}}}
       |Given8 = {{{first8|{{{given8|}}}}}}
       |Given8 = {{{first8|}}}
       |Given9 = {{{first9|{{{given9|}}}}}}
       |Given9 = {{{first9|}}}
       |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
       |Authorlink1 = {{{authorlink|}}}
       |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
       |Authorlink2 = {{{authorlink2|}}}
       |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
       |Authorlink3 = {{{authorlink3|}}}
       |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
       |Authorlink4 = {{{authorlink4|}}}
       |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
       |Authorlink5 = {{{authorlink5|}}}
       |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
       |Authorlink6 = {{{authorlink6|}}}
       |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
       |Authorlink7 = {{{authorlink7|}}}
       |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
       |Authorlink8 = {{{authorlink8|}}}
       |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
       |Authorlink9 = {{{authorlink9|}}}
       |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
       |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
                 #if: {{{date|}}}
                 #if: {{{date|}}}
    Line 44: Line 44:
               |{{{pages|{{{page|{{{at|}}}}}}}}}
               |{{{pages|{{{page|{{{at|}}}}}}}}}
               |{{
               |{{
                 #if: {{{page|{{{pages|}}}}}}
                 #if: {{{pages|}}}
                 |{{{page|{{{pages}}}}}}
                 |{{{pages}}}
                 |{{{at|}}}
                 |{{{at|}}}
                  
                  
               }}
               }}
             }}
             }}
       |IncludedWorkTitle = {{#if:{{{url|}}}|{{{title|{{{contribution|No <code>title</code> specified{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}}}}}|You must specify <code>url=</code> when using {{tl|cite web}}{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
       |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|No {{para|title}} specified{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}|You must specify {{para|url}} when using {{tl|cite web}}{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}}}
       |IncludedWorkURL = {{#if: {{{archiveurl|}}} | {{{archiveurl|}}} | {{{url|}}} }}
       |IncludedWorkURL = {{#if: {{{archiveurl|}}} | {{{archiveurl|}}} | {{{url|}}} }}
       |Place = {{{place|{{{location|}}}}}}
       |Place = {{{location|}}}
       |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
       |PublicationPlace = {{{location|}}}
       |Publisher = {{{publisher|}}}
       |Publisher = {{{publisher|}}}
       |PublicationDate = {{{publication-date|}}}
       |PublicationDate = {{{publication-date|}}}
       |language = {{{language|{{{in|}}}}}}
       |language = {{{language|}}}
       |format = {{{format|}}}
       |format = {{{format|}}}
       |DOI={{{doi|{{{DOI|}}}}}}
       |DOI={{{doi|}}}
       |AccessDate={{#if:{{{access-date|}}}|{{{accessdate|}}}|{{{accessdate|}}} }}
       |AccessDate={{{accessdate|}}}
       |DateFormat={{{dateformat|none}}}
       |DateFormat={{{dateformat|}}}
       |quote = {{{quote|}}}
       |quote = {{{quote|}}}
       |Ref={{{ref|}}}
       |Ref={{{ref|}}}