Template:Cite web: Difference between revisions

From The Portal Wiki
(Created page with "<noinclude> 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, fi...")
 
m (Protected "Template:Cite web" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
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 and 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
<syntaxhighlight lang="html+handlebars">{{cite web
  |url=
  |url=
Line 57: Line 57:
  |quote=
  |quote=
  |postscript=}}</syntaxhighlight>--></noinclude>
  |postscript=}}</syntaxhighlight>--></noinclude>
<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>
<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 23:56, 12 March 2022

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

Usage: Copy and 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=}}