Template:News: Difference between revisions

From Baka-Tsuki
Jump to navigation Jump to search
Cloudii (talk | contribs)
mNo edit summary
Cloudii (talk | contribs)
No edit summary
Line 1: Line 1:
<div style="border:1px dotted gray;border-radius:5px;padding:2px 5px;font-size:90%;margin-bottom:5px;">
<includeonly><div style="border:1px dotted gray;border-radius:5px;padding:2px 5px;font-size:90%;margin-bottom:5px;">
<span style="float:right;margin-left:5px;"><small>{{{date}}}</small></span>
<span style="float:right;margin-left:5px;"><small>{{{date}}}</small></span>
<span style="font-size:120%;">'''{{{title}}}'''</span>
<span style="font-size:120%;">'''{{{title}}}'''</span>
<div style="margin-left:10px;">{{{content}}}</div>
<div style="margin-left:10px;">{{{content}}}</div>
</div>
</div></includeonly><noinclude>
<noinclude>
==What's This Template For?==
Use this template for adding nicely formatted news entries to the Main Page
==Instructions==
Copy this code:
<pre>{{News
title=[your news item title]
date=[the date]
content=[whatever you want to write]
}}
</pre>
If you want to leave any field '''blank''', you should just leave the field blank, but remember to write "date=" or "content=".
 
If you're having trouble making line breaks show nicely, consider using these tags for line-breaks instead: <pre><br></pre>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 06:52, 6 April 2014

What's This Template For?

Use this template for adding nicely formatted news entries to the Main Page

Instructions

Copy this code:

{{News
title=[your news item title]
date=[the date]
content=[whatever you want to write]
}}

If you want to leave any field blank, you should just leave the field blank, but remember to write "date=" or "content=".

If you're having trouble making line breaks show nicely, consider using these tags for line-breaks instead:

<br>