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

From Maths
Jump to: navigation, search
(Created page with "<!-- ERROR CHECKING CODE -->{{#if:{{{bookName|}}}||*{{Template error|1=No {{C|bookName}} member provided! (eg Measure Theory, Paul R. Halmos - refName might be MTPRH)}}}}<!--...")
 
m (Adding overrideRefName)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
ERROR CHECKING CODE
 
ERROR CHECKING CODE
 
-->{{#if:{{{bookName|}}}||*{{Template error|1=No {{C|bookName}} member provided! (eg Measure Theory, Paul R. Halmos - refName might be MTPRH)}}}}<!--
 
-->{{#if:{{{bookName|}}}||*{{Template error|1=No {{C|bookName}} member provided! (eg Measure Theory, Paul R. Halmos - refName might be MTPRH)}}}}<!--
-->{{#if:{{{refName|}}}||*{{Template error|1=No {{C|refName}} member provided! (eg MTPRH for Measure Theory, Paul R. Halmos)}}}}<!--
+
-->{{#if:{{{refName|{{{content|}}}}}}||*{{Template error|1=No {{C|refName}} member provided! (eg MTPRH for Measure Theory, Paul R. Halmos)}}}}<!--
  
 
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