Template:Blog: Difference between revisions

From TangoMeta
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#template_params:
{{#template_params:
   Website (property=Has website)
   Website (property=Has website)
  | Website Archive (property=Has website archive)
   | Authors (label=Author(s);list;property=Has author)
   | Authors (label=Author(s);list;property=Has author)
   | Domain (list;property=Has domain;display=nonempty)
   | Domain (list;property=Has domain;display=nonempty)
Line 8: Line 9:
   | Started in (property=Started in;display=nonempty)
   | Started in (property=Started in;display=nonempty)
   | Ended in (property=Ended in;display=nonempty)
   | Ended in (property=Ended in;display=nonempty)
  | Has archive (property=Has archive;display=nonempty)
}}
}}
</noinclude>
</noinclude>
<includeonly>
<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="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;"
|-
! style="text-align: center; background-color:#ccccff;" colspan="2" |
! style="text-align: center; background-color:#ccccff;" colspan="2" |
   <span style="font-size: larger;">{{PAGENAME}}</span>
   <span style="font-size: larger;">{{PAGENAME}}</span>
Line 20: Line 22:
|-
|-
! Website Archive
! Website Archive
| [[Has website::{{{WebsiteArchive|}}}]]
| {{#if:{{{Website Archive|}}}|
[[Has website archive::{{{Website Archive|}}}]]
}}
|-
|-
! Authors
! Authors
| {{#arraymap:{{{Authors|}}}|,|author|[[Has author::author]]}}
| {{#arraymap:{{{Authors|}}}|,|X|[[Has author::X]]}}
|-
|-
! Domain
! Domain
{{#if:{{{Domain|}}}|
| {{#if:{{{Domain|}}}|
{{!}} {{#arraymap:{{{Domain|}}}|,|domain|[[Has domain::domain]]}}
{{!}} {{#arraymap:{{{Domain|}}}|,|D|[[Has domain::D]]}}
}}
}}
|-
|-
! RSS feed
! RSS feed
{{#if:{{{RSS feed|}}}|
| {{#if:{{{RSS feed|}}}|
{{!}} [[Has feed::{{{RSS feed|}}}]]
{{!}} [[Has feed::{{{RSS feed|}}}]]
}}
}}
|-
|-
! Language(s)
! Language(s)
{{#if:{{{Language|}}}|
| {{#if:{{{Language|}}}|
{{!}} {{#arraymap:{{{Language|}}}|,|language|[[Has language::language]]}}
{{!}} {{#arraymap:{{{Language|}}}|,|L|[[Has language::L]]}}
}}
}}
|-
|-
! Started in
! Started in
{{#if:{{{Started in|}}}|
| {{#if:{{{Started in|}}}|
{{!}} [[Started in::{{{Started in|}}}]]
{{!}} [[Started in::{{{Started in|}}}]]
}}
}}
|-
|-
! Ended in
! Ended in
{{#if:{{{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.