Template:Blog: Difference between revisions
Jump to navigation
Jump to search
Danieldekay (talk | contribs) (Generated from a page schema) |
Danieldekay (talk | contribs) mNo edit summary |
||
(7 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 | 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|}}}]] | ||
|- | |- | ||
! | ! Website Archive | ||
| {{# | | {{#if:{{{Website Archive|}}}| | ||
[[Has website archive::{{{Website Archive|}}}]] | |||
{{# | }} | ||
|- | |||
! Authors | |||
| {{#arraymap:{{{Authors|}}}|,|X|[[Has author::X]]}} | |||
|- | |||
! Domain | ! Domain | ||
{{!}} {{#arraymap:{{{Domain|}}}|,| | | {{#if:{{{Domain|}}}| | ||
{{!}} {{#arraymap:{{{Domain|}}}|,|D|[[Has domain::D]]}} | |||
}} | }} | ||
|- | |||
! RSS feed | ! RSS feed | ||
| {{#if:{{{RSS feed|}}}| | |||
{{!}} [[Has feed::{{{RSS feed|}}}]] | {{!}} [[Has feed::{{{RSS feed|}}}]] | ||
}} | }} | ||
|- | |||
! Language(s) | ! Language(s) | ||
{{!}} {{#arraymap:{{{Language|}}}|,| | | {{#if:{{{Language|}}}| | ||
{{!}} {{#arraymap:{{{Language|}}}|,|L|[[Has language::L]]}} | |||
}} | }} | ||
|- | |||
! Started in | ! Started in | ||
| {{#if:{{{Started in|}}}| | |||
{{!}} [[Started in::{{{Started in|}}}]] | {{!}} [[Started in::{{{Started 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.