Template:Cite web: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
'''***Non-functional.***'''
Template for citing web sources, based on [https://en.wikipedia.org/wiki/Template:Cite_web Wikipedia's Cite web template].
Template for citing web sources, based on [https://en.wikipedia.org/wiki/Template:Cite_web 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.'''
'''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 56:
  |via=
  |via=
  |quote=
  |quote=
  |postscript=}}</syntaxhighlight></noinclude>
  |postscript=}}</syntaxhighlight>--></noinclude>
<includeonly>"[{{{url}}} {{#if: {{{title|}}}| {{{title}}}|}}]". {{#if: {{{website|}}}| ''{{{website}}}''.|}} {{#if: {{{publisher|}}}| {{{publisher}}}.|}}</includeonly>
<includeonly>{{#if: {{{last|}}}| {{#if: {{{first|}}}| {{{last|}}}, {{{first}}}.|{{{last}}}.}}|}}"[{{{url}}} {{#if: {{{title|}}}| {{{title}}}|}}]". {{#if: {{{trans-title|}}}| {{#if: {{{language|}}}| [{{{trans-title}}}]  (in {{{language}}}).|[{{{trans-title}}}].}}|}} {{#if: {{{type|}}}|{{{type}}}.|}} {{#if: {{{website|}}}| ''{{{website}}}''.|}} {{#if: {{{publisher|}}}| {{{publisher}}}.|}} {{#if: {{{date|}}}| {{{date}}}.|}} {{#if: {{{access-date|}}}|Retrieved {{{access-date}}}.|}}</includeonly>

Latest revision as of 22:23, 23 November 2020

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=}}