Template:Cite web: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
Line 5: Line 5:


'''Usage: Copy paste the code below, filling in relevant fields after the = sign. Fields that are left empty or are removed will not show up in the generated citation.'''
'''Usage: Copy paste the code below, filling in relevant fields after the = sign. Fields that are left empty or are removed will not show up in the generated citation.'''
 
<syntaxhighlight lang="html+handlebars">{{cite web
|url=
|title=
|last=
|first=
|date=
|website=
|publisher=
|language=
|trans-title=
|type=
|access-date=}}</syntaxhighlight>
<!--
<syntaxhighlight lang="html+handlebars">{{cite web
<syntaxhighlight lang="html+handlebars">{{cite web
  |url=
  |url=
Line 46: Line 58:
  |via=
  |via=
  |quote=
  |quote=
  |postscript=}}</syntaxhighlight></noinclude>
  |postscript=}}--></syntaxhighlight></noinclude>
<includeonly>{{#if: {{{last|}}}| {{#if: {{{first|}}}| {{{last|}}}, {{{first}}}.|{{{last}}}.}}|}}"[{{{url}}} {{#if: {{{title|}}}| {{{title}}}|}}]". {{#if: {{{website|}}}| ''{{{website}}}''.|}} {{#if: {{{publisher|}}}| {{{publisher}}}.|}} {{#if: {{{date|}}}| {{{date}}}.|}} {{#if: {{{access-date|}}}|Retrieved {{{access-date}}}.|}}</includeonly>
<includeonly>{{#if: {{{last|}}}| {{#if: {{{first|}}}| {{{last|}}}, {{{first}}}.|{{{last}}}.}}|}}"[{{{url}}} {{#if: {{{title|}}}| {{{title}}}|}}]". {{#if: {{{website|}}}| ''{{{website}}}''.|}} {{#if: {{{publisher|}}}| {{{publisher}}}.|}} {{#if: {{{date|}}}| {{{date}}}.|}} {{#if: {{{access-date|}}}|Retrieved {{{access-date}}}.|}}</includeonly>

Revision as of 22:15, 23 November 2020

***Non-functional.***

Template for citing web sources, based on Wikipedia's Cite web template.

Usage: Copy paste the code below, filling in relevant fields after the = sign. Fields that are left empty or are removed will not show up in the generated citation.

{{cite web
 |url=
 |title=
 |last=
 |first=
 |date=
 |website=
 |publisher=
 |language=
 |trans-title=
 |type=
 |access-date=}}

</syntaxhighlight>