Template:Cite web: Difference between revisions

add support for translation only (no english title)
m>Crum375
(rv self for now)
m>Crum375
(add support for translation only (no english title))
Line 46: Line 46:
   |Title={{{work|}}}
   |Title={{{work|}}}
   |TransTitle={{{trans_title|}}}
   |TransTitle={{{trans_title|}}}
   |At = {{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pages|}}}|{{{pages|}}}|{{{at|}}} }} }}
   |At = {{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pages|}}|{{{pages|}}}|{{{at|}}} }} }}
   |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|{{Citation error|no {{para|title}} specified|cite web}}}}|{{Citation error|no {{para|url}} specified|cite web}}}}
   |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|
{{#if:{{{trans_title|}}}||
{{Citation error|no {{para|title}} specified|cite web}}}}|{{Citation error|no {{para|url}} specified|cite web}}}}}}
   |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
   |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
   |PublicationPlace = {{{location|}}}
   |PublicationPlace = {{{location|}}}
Anonymous user