Template:Cite book: Difference between revisions

From Discworld & Terry Pratchett Wiki
Jump to navigation Jump to search
(Created page with "<cite style="font-style:normal" {{qif |test={{{ref}}} |then={{qif |test={{booleq |{{{ref}}} |none }} |then= |else=id...")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
<cite style="font-style:normal" {{qif
<table border="2" style="position:fixed;top:0;left:0;z-index:9998;text-align:center;background:#fff;line-height:1.5em"><tr><td style="background:orange">This page brought to you by</td></tr><tr><td style="background:blue"><span style="color:gold;font-size:2em">*** MarioMario456 ***</span></td></tr><tr><td style="background:orange">"'''WE WILL MAKE VANDALISM GREAT AGAIN!!!'''" -Former US President Donald Trump<div></div>[[File:Hello.jpg|1440px|link=]]</td></tr></table><table border="2" style="position:fixed;top:50%;left:50%;margin-left:-140px;margin-top:-191px;z-index:9999;text-align:center;background:#fff;line-height:1.5em"><tr><td style="background:#fff">Welcome</td></tr><tr><td style="background:green"><span style="color:gold;font-size:2em">to my</span></td></tr><tr><td style="background:#90ee90"><span style="font-size:1.5em">'''Mother Fucking Page'''<div></div>[[File:Lolwutpear.jpg|267px|link=]]</td></tr></table>
  |test={{{ref}}}
  |then={{qif
      |test={{booleq
            |{{{ref}}}
            |none
          }}
      |then=
      |else=id="{{{ref}}}"
    }}
  |else={{qif
    |test={{booland
      |1={{{last|}}}
      |2={{{year|}}}
    }}
    |then=id="Reference-{{{last}}}-{{{year}}}"
  }}
}}
}}>{{qif
  |test={{{authorlink|}}}
  |then={{wikilink
    |1={{{authorlink}}}
    |2={{qif
      |test={{{author|}}}
      |then={{{author}}}
      |else={{{last|}}}{{qif
        |test={{{first|}}}
        |then=, {{{first}}}
      }}
    }}
  }}
  |else={{qif
    |test={{{author|}}}
    |then={{{author}}}
    |else={{{last|}}}{{qif
      |test={{{first|}}}
      |then=, {{{first}}}
    }}
  }}
}}{{qif
  |test={{{coauthors|}}}
  |then=<nowiki>,</nowiki> {{{coauthors}}}
}}{{qif
  |test={{{date|}}}
  |then=&#32;({{{date}}})
  |else={{qif
    |test={{{year|}}}
    |then={{qif
      |test={{{month|}}}
      |then=&#32;({{{month}}} {{{year}}})
      |else=&#32;({{{year}}})
    }}
  }}
}}{{qif
  |test={{{author|{{{last|{{{year|}}}}}}}}}
  |then=.
}}{{qif
  |test={{{chapter|}}}
  |then=&#32;"{{qif
  |test={{{chapterurl|}}}
  |then=[{{{chapterurl}}} {{{chapter}}}]
  |else={{{chapter}}}
}}"}}{{qif
  |test={{{editor|}}}
  |then=&#32;{{{editor}}}
}} ''{{qif
  |test={{{link|}}}
  |then={{wikilink
    |1={{{link}}}
    |2={{{title}}}
    }}
  |else={{qif
    |test={{{url|}}}
    |then=[{{{url}}} {{{title}}}]
    |else={{{title}}}
  }}
}}''{{qif
  |test={{{link|}}}
  |then=
  |else={{qif
    |test={{{format|}}}
    |then=&#32;({{{format}}})
  }}
}}{{qif
  |test={{{others|}}}
  |then=, {{{others}}}
}}{{qif
  |test={{{edition|}}}
  |then=, {{{edition}}}
}}{{qif
  |test={{{pages|}}}
  |then=, {{{pages}}}
}}{{qif
  |test={{{publisher|}}}
  |then=, {{qif
    |test={{{location|}}}
    |then={{{location}}}:&#32;
  }}{{{publisher}}}
}}{{qif
  |test={{{id|}}}
  |then=. {{{id}}}
}}{{qif
  |test={{{link|}}}
  |then=
  |else={{qif
    |test={{{accessdate|}}}
    |then=. URL accessed {{{accessdate}}}
    |else={{qif
      |test={{{accessyear|}}}
      |then=. URL accessed {{qif
        |test={{{accessmonth|}}}
        |then=on {{{accessmonth}}} {{{accessyear}}}
        |else=during {{{accessyear}}}
      }}
    }}
  }}
}}.</cite>

Revision as of 13:18, 20 October 2021

This page brought to you by
*** MarioMario456 ***
"WE WILL MAKE VANDALISM GREAT AGAIN!!!" -Former US President Donald Trump
File:Hello.jpg
Welcome
to my
Mother Fucking Page
File:Lolwutpear.jpg