Difference between revisions of "User:Alec/BookTemplate/BookReferenceTemplate"

From Maths
Jump to: navigation, search
m (If there's content, we don't want a ref name)
m (Adding overrideRefName)
 
Line 6: Line 6:
 
ACTUAL OUTPUT STUFF
 
ACTUAL OUTPUT STUFF
 
-->{{:User:Alec/BookTemplate/ReferenceTemplate
 
-->{{:User:Alec/BookTemplate/ReferenceTemplate
|refName={{#if:{{{content|}}}||{{{refName|}}}}}
+
|refName={{#if:{{{content|}}}|{{{overrideRefName|}}}|{{{refName|}}}}}
 
|content=[[{{{bookLink|Books:{{{bookName|bookNameMissing}}}}}}|{{{bookName|bookNameMissing}}}]] {{{content|}}}
 
|content=[[{{{bookLink|Books:{{{bookName|bookNameMissing}}}}}}|{{{bookName|bookNameMissing}}}]] {{{content|}}}
 
}}
 
}}

Latest revision as of 21:33, 30 July 2016

  • No bookName member provided! (eg Measure Theory, Paul R. Halmos - refName might be MTPRH)
  • No refName member provided! (eg MTPRH for Measure Theory, Paul R. Halmos)[1]
  • (Anonymous ref tag)
    Content:
    bookNameMissing