Template:Cite web: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Happy-melon remove alternative parameter names that were not supported in original code, per talk |
meta>Happy-melon remove newly-added parameters that seem to have little or no use for web citations |
||
Line 1: | Line 1: | ||
{{Citation/core | {{Citation/core | ||
|Citation class=web | |Citation class=web | ||
|Surname1 = {{#if: {{{author|}}} | {{{author}}} | {{{last|}}} }} | |Surname1 = {{#if: {{{author|}}} | {{{author}}} | {{{last|}}} }} | ||
|Surname2 = {{#if: {{{author2|}}} | {{{author2}}} | {{{last2|}}} }} | |Surname2 = {{#if: {{{author2|}}} | {{{author2}}} | {{{last2|}}} }} | ||
|Surname3 = {{#if: {{{author3|}}} | {{{author3}}} | {{{last3|}}} }} | |Surname3 = {{#if: {{{author3|}}} | {{{author3}}} | {{{last3|}}} }} | ||
Line 28: | Line 28: | ||
|Authorlink8 = {{{authorlink8|}}} | |Authorlink8 = {{{authorlink8|}}} | ||
|Authorlink9 = {{{authorlink9|}}} | |Authorlink9 = {{{authorlink9|}}} | ||
|Year={{ | |Year={{#if:{{{year|}}}|{{{year}}} | ||
|{{#if: {{{date|}}} <!-- attempt to derive year from date, if possible --> | |||
|{{#iferror:{{#time:Y|{{{date|}}} }} }} | |||
}} | }} | ||
}} | |||
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year| | |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|}}} }} | ||
|Title={{{work|}}} | |Title={{{work|}}} | ||
|At = | |At = {{{pages|}}} | ||
|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]]}}}}}} | |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 = {{{location|}}} | |Place = {{{location|}}} | ||
|Publisher = {{{publisher|}}} | |Publisher = {{{publisher|}}} | ||
|language = {{{language|}}} | |language = {{{language|}}} | ||
|format = {{{format|}}} | |format = {{{format|}}} | ||
Line 62: | Line 46: | ||
|DateFormat={{{dateformat|}}} | |DateFormat={{{dateformat|}}} | ||
|quote = {{{quote|}}} | |quote = {{{quote|}}} | ||
|PS={{#if:{{{quote|}}}||.}} | |PS={{#if:{{{quote|}}}||.}} | ||
|Archive = {{ | |Archive = {{#if:{{{archiveurl|}}} | ||
|Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}}{{#if:{{{archivedate|}}}| on {{{archivedate}}}|. You must specify the date the archive was made using the {{para|archivedate}} parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}} | |||
}} | }} | ||
}}<noinclude> | }}<noinclude> |