Template:Blog: Difference between revisions

From TangoMeta
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Website (property=Has website)|Authors (label=Author(s);list;property=Has author)|Domain (list;property=Has domain;display=nonempty)|RSS feed (property=Has feed;display=nonempty)|Language (label=Language(s);list;property=Has language;display=nonempty)|Started in (property=Started in;display=nonempty)|Ended in (property=Ended in;display=nonempty)}}
{{#template_params:
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
  Website (property=Has website)
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
  | Website Archive (property=Has website archive)
  | Authors (label=Author(s);list;property=Has author)
  | Domain (list;property=Has domain;display=nonempty)
  | RSS feed (property=Has feed;display=nonempty)
  | Language (label=Language(s);list;property=Has language;display=nonempty)
  | Started in (property=Started in;display=nonempty)
  | Ended in (property=Ended in;display=nonempty)
  | Has archive (property=Has archive;display=nonempty)
}}
</noinclude>
<includeonly>
{| class="infobox" style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; padding: 0.2em; text-align:left;"
|-
! style="text-align: center; background-color:#ccccff;" colspan="2" |
  <span style="font-size: larger;">{{PAGENAME}}</span>
|-
|-
! Website
! Website
| [[Has website::{{{Website|}}}]]
| [[Has website::{{{Website|}}}]]
| [[Has website::{{{WebsiteArchive|}}}]]
|-
|-
! Author(s)
! Website Archive
| {{#arraymap:{{{Authors|}}}|,|x|[[Has author::x]]}}
| {{#if:{{{Website Archive|}}}|
 
[[Has website archive::{{{Website Archive|}}}]]
{{#if:{{{Domain|}}}|
}}
{{!}}-
|-
! Authors
| {{#arraymap:{{{Authors|}}}|,|X|[[Has author::X]]}}
|-
! Domain
! Domain
{{!}} {{#arraymap:{{{Domain|}}}|,|x|[[Has domain::x]]}}
| {{#if:{{{Domain|}}}|
 
{{!}} {{#arraymap:{{{Domain|}}}|,|D|[[Has domain::D]]}}
}}
}}
{{#if:{{{RSS feed|}}}|
|-
{{!}}-
! RSS feed
! RSS feed
| {{#if:{{{RSS feed|}}}|
{{!}} [[Has feed::{{{RSS feed|}}}]]
{{!}} [[Has feed::{{{RSS feed|}}}]]
}}
}}
{{#if:{{{Language|}}}|
|-
{{!}}-
! Language(s)
! Language(s)
{{!}} {{#arraymap:{{{Language|}}}|,|x|[[Has language::x]]}}
| {{#if:{{{Language|}}}|
 
{{!}} {{#arraymap:{{{Language|}}}|,|L|[[Has language::L]]}}
}}
}}
{{#if:{{{Started in|}}}|
|-
{{!}}-
! Started in
! Started in
| {{#if:{{{Started in|}}}|
{{!}} [[Started in::{{{Started in|}}}]]
{{!}} [[Started in::{{{Started in|}}}]]
}}
}}
{{#if:{{{Ended in|}}}|
|-
{{!}}-
! Ended in
! Ended in
| {{#if:{{{Ended in|}}}|
{{!}} [[Ended in::{{{Ended in|}}}]]
{{!}} [[Ended in::{{{Ended in|}}}]]
}}
|-
! Has Archive
| {{#if:{{{Has archive|}}}|
{{!}} {{#if:{{{Has archive|Yes}}}|Yes|No}}
}}
}}
|}
|}
[[Category:Blogs]]
[[Category:Blogs]]
</includeonly>
</includeonly>

Latest revision as of 15:15, 25 May 2024

This is the "Blog" template.

It should be called in the following format:

{{Blog
|Website=
|Website Archive=
|Authors=
|Domain=
|RSS feed=
|Language=
|Started in=
|Ended in=
|Has archive=
}}

Edit the page to see the template text.