Template:Cite web: Difference between revisions

From The Portal Wiki
No edit summary
No edit summary
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>

Revision as of 18:55, 9 January 2021

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