Template:News: Difference between revisions

From Diskmags Catalog
Created page with "<noinclude> {{#template_params:Shorttext (label=Short text;property=Checked)|Long text (property=Checked)}} </noinclude><includeonly>{| style="width: 30em; font-size: 90%; bor..."
 
No edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Shorttext (label=Short text;property=Checked)|Long text (property=Checked)}}
{{#template_params:NewsBody (property=NewsBody)|Date (property=NewsDate)}}
</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;"
</noinclude><includeonly>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
<!-- [[Short text::{{PAGENAME}}]] <div class="mw-collapsible mw-collapsed" data-collapsetext="You may collapse me by clicking here" data-expandtext="Let me back out !">[[Long text::{{{Long text|}}}]]</div> - [[Date::{{#time: d.m.Y | {{REVISIONTIMESTAMP}} }}]] -->
|-
{{{NewsBody|}}}
! Short text
----
| [[Checked::{{{Shorttext|}}}]]
Date: [[Date::{{{Date|}}}]]
|-
 
! Long text
[[Category:News]]
| [[Checked::{{{Long text|}}}]]
|-
!
|{{#ask:[[Checked::{{SUBJECTPAGENAME}}]]|format=list}}
|}
</includeonly>
</includeonly>

Latest revision as of 10:17, 18 January 2024

This is the "News" template.

It should be called in the following format:

{{News
|NewsBody=
|Date=
}}

Edit the page to see the template text.