Template:Cite web: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
m fleshing out the Citation templates category a tiny bit more
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
[{{#ifeq: {{{url-status|}}} | dead | {{{archive-url|}}} | {{{url|}}} }} "{{{title|}}}"]{{#if: {{{trans-title|}}} | {{sp}}[{{{trans-title|}}}] }}{{#if: {{{language|}}} | {{sp}}(in {{{language|}}}) }}{{#ifeq: {{{format|}}}|PDF|{{sp}}(PDF)|}}.{{#if: {{{website|}}} | {{sp}}''{{{website|}}}''.}}{{#if: {{{date|}}} | {{sp}}{{{date|}}}.}} {{#if: {{{archive-url|}}} | {{#switch: {{{url-status|}}}
{{#if: {{{last|}}} |
| dead = [{{{archive-url|}}} Archived] from the original{{#ifeq: {{{format|}}} {{!}} PDF {{!}}  (PDF) {{!}} }}
{{#if: {{{first|}}} |
| #default = Archived from [{{{url|}}} the original]{{#ifeq: {{{format|}}} {{!}} PDF {{!}}  (PDF) {{!}} }}
{{{last}}}, {{{first}}}{{sp}} |
{{{last}}}{{sp}}
}} |
{{#if: {{{author|}}} |
{{{author}}}{{sp}} |
{{#if: {{{author-link|}}} |
{{{author-link}}}{{sp}} |
}}
}}
}}[{{#ifeq: {{{url-status|}}} | dead | {{{archive-url|}}} | {{{url|}}} }} "{{{title|}}}"]{{#if: {{{trans-title|}}} | {{sp}}[{{{trans-title|}}}] }}{{#if: {{{language|}}} | {{sp}}(in {{{language|}}}) }}{{#ifeq: {{{format|}}}|PDF|{{sp}}(PDF)|}}.{{#if: {{{website|}}} | {{sp}}''{{{website|}}}''.}}{{#if: {{{date|}}} | {{sp}}{{{date|}}}.}} {{#if: {{{archive-url|}}} | {{#switch: {{{url-status|}}}
| dead = Archived from [{{{url|}}} the original]{{#ifeq: {{{format|}}} {{!}} PDF {{!}}  (PDF) {{!}} }}
| #default = [{{{archive-url|}}} Archived] from the original{{#ifeq: {{{format|}}} {{!}} PDF {{!}}  (PDF) {{!}} }}
}} on {{{archive-date|}}}.|}} Retrieved {{{access-date|}}}.<noinclude>
}} on {{{archive-date|}}}.|}} Retrieved {{{access-date|}}}.<noinclude>


Line 10: Line 22:
* place/location
* place/location
* documentations for editors
* documentations for editors
* add tracking category for link rot, citations without an archive url


<br><br>
<br><br>
{{cite web |url=https://www.theverge.com/2019/6/28/19102611/tetris-royale-mobile-n3twork-nintendo-tetris-99 |title=Tetris Royale, a 100-player battle royale, is coming to mobile devices |date=June 28, 2019 |website=The Verge |access-date=January 21, 2020 |author=Dami Lee |archive-url=https://web.archive.org/web/20200122040328/https://www.theverge.com/2019/6/28/19102611/tetris-royale-mobile-n3twork-nintendo-tetris-99 |archive-date=January 21, 2020 }}
<br>
{{cite web
{{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|url=http://www.incb.org/pdf/e/list/green.pdf
Line 55: Line 70:
|archive-date=2005-09-07
|archive-date=2005-09-07
}}</pre>
}}</pre>
Please use this inline version within pages, not the multi line version
<pre>{{cite web |url= |title= |trans-title= |script-title= |language= |date= |website= |format= |access-date= |archive-url= |url-status= |archive-date= }}</pre>
Multi line version:
<pre>{{cite web
|url=
|title=
|trans-title=
|script-title=
|language=
|date=
|website=
|format=
|access-date=
|archive-url=
|url-status=
|archive-date=
}}</pre>
"List of psychotropic substances under international control" (PDF). 2005-04-30. Archived from the original (PDF) on 2005-09-07. Retrieved 2019-09-10.
"List of psychotropic substances under international control" (PDF). 2005-04-30. Archived from the original (PDF) on 2005-09-07. Retrieved 2019-09-10.
[[Category:Utility templates]]
[[Category:Utility templates]]
[[Category:Citation templates]]
</noinclude>
</noinclude>

Latest revision as of 05:22, 21 June 2022

[ ""]. Retrieved .

Work in progress
TODO:

  • script-title (for japanese sources mainly)
  • author
  • place/location
  • documentations for editors
  • add tracking category for link rot, citations without an archive url



Dami Lee "Tetris Royale, a 100-player battle royale, is coming to mobile devices". The Verge. June 28, 2019. Archived from the original on January 21, 2020. Retrieved January 21, 2020.
"List of psychotropic substances under international control" (PDF). 2005-04-30. Archived from the original on 2005-09-07. Retrieved 2019-09-10.
"List of psychotropic substances under international control" (PDF). 2005-04-30. Archived from the original on 2005-09-07. Retrieved 2019-09-10.
"Mr. Tetris". Blue Planet Software. c. 2007. Archived from the original on 2007-02-28. Retrieved 2019-09-10.
"My Favorite Things, Part II". Retrieved 2019-09-10.
Joliet, François "Honi soit qui mal y pense" [Shame on those who think evil of it] (in French). 30 April 2005. Retrieved 10 September 2019.

{{cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=2005-04-30
|format=PDF
|access-date=2019-09-10
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf
|archive-date=2005-09-07
}}

Please use this inline version within pages, not the multi line version

{{cite web |url= |title= |trans-title= |script-title= |language= |date= |website= |format= |access-date= |archive-url= |url-status= |archive-date= }}

Multi line version:

{{cite web
|url=
|title=
|trans-title=
|script-title=
|language=
|date=
|website=
|format=
|access-date=
|archive-url=
|url-status=
|archive-date=
}}

"List of psychotropic substances under international control" (PDF). 2005-04-30. Archived from the original (PDF) on 2005-09-07. Retrieved 2019-09-10.