Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>COGDEN
Fix minor problem with multiple editors/authors
wikademia>Jitse Niesen
add anchorencode (twice) per request on Template talk:Citation
Line 42: Line 42:
{{
{{
   #if:{{{Ref|}}}
   #if:{{{Ref|}}}
   |{{#ifeq:{{{Ref|}}}|none||id="{{{Ref|}}}"}}
   |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}
   |id="CITEREF{{#if:{{{Surname1|}}}
   |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
     |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
     |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
     |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
     |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
   }}{{{Year|{{{Date|}}}}}}"
   }}{{{Year|{{{Date|}}}}}}}}"
}}>{{
}}>{{
<!--============  Author or editor and date  ============-->
<!--============  Author or editor and date  ============-->

Revision as of 17:27, 19 November 2007