Difference between revisions of "Template:News"

From WikiVet English
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__ __NOEDITSECTION__
 
<includeonly>__NOTOC__ __NOEDITSECTION__
{|cellspacing="0" cellpadding="0" width="800px" style="clear:both; background-color:#fcfcfc; border:3px solid #50A6C2;" align="center"
+
{|cellspacing="0" cellpadding="0" width="900px" style="clear:both; background-color:#fcfcfc; border:3px solid #cedff2;" align="center"
 
|-
 
|-
 
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''WikiNews'''</center></big>  
 
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''WikiNews'''</center></big>  
Line 7: Line 7:
 
|colspan="4"|
 
|colspan="4"|
 
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
 
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
|<p align="justify"><center>{{{pagebody|pagebody}}}</center></p align>
+
|<p align="justify"><center>Updates on all new and exciting developments of the WikiVet Project.</center></p align>
 
|}
 
|}
 
|-
 
|-
 
|colspan="4" align="center"|<!---------------------------Main content------------------------>
 
|colspan="4" align="center"|<!---------------------------Main content------------------------>
 
{|style="margin:0px 0px 0px 0px; background:none;" align="center" width="740px"
 
{|style="margin:0px 0px 0px 0px; background:none;" align="center" width="740px"
|class="MainPageBG" style="width:90%; border:1px solid #cef2e0; background:#f5faff; vertical-align:top; color:#000;"|
+
|class="MainPageBG" style="width:55%; border:1px solid #cedff2; background:#f5faff; vertical-align:top; color:#000;"|
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
+
{|id="mp-left" width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5faff;"
!<h2 id="mp-tfa-h2" style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">{{{date|date}}}</h2>
+
!<h2 id="mp-tfa-h2" style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #cedff2; text-align:left; color:#000; padding:0.2em 0.4em;">{{{date|date}}}</h2>
 
|-
 
|-
 
|style="color:#000;" align="left"|
 
|style="color:#000;" align="left"|
Line 26: Line 26:
 
}}
 
}}
 
|-
 
|-
|<span style="line-height:1;"><br></span>
+
|<span style="line-height:3;"><br></span>
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  
Line 32: Line 32:
 
<pre>
 
<pre>
 
{{News
 
{{News
|pagebody =
 
 
|date =  
 
|date =  
 
|news story =
 
|news story =
Line 43: Line 42:
 
===Example===
 
===Example===
 
<pre>
 
<pre>
{{News
+
{{News  
|pagebody =
 
 
|date =9th October 2008 - The Wiki is Launched
 
|date =9th October 2008 - The Wiki is Launched
 
|news story = blah blah blah [[Image: crew.jpg|right|thumb|150x|Attendees of the WikiVet Launch]]
 
|news story = blah blah blah [[Image: crew.jpg|right|thumb|150x|Attendees of the WikiVet Launch]]
Line 52: Line 50:
 
'''Gives'''
 
'''Gives'''
 
{{News
 
{{News
|pagebody =
 
 
|date =9th October 2008 - The Wiki is Launched
 
|date =9th October 2008 - The Wiki is Launched
 
|news story = blah blah blah [[Image: crew.jpg|right|thumb|150x|Attendees of the WikiVet Launch]]
 
|news story = blah blah blah [[Image: crew.jpg|right|thumb|150x|Attendees of the WikiVet Launch]]
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:29, 15 October 2008


The code

{{News
|date = 
|news story =
}}
WikiNews

Updates on all new and exciting developments of the WikiVet Project.

date

news story


Example

{{News 
|date =9th October 2008 - The Wiki is Launched
|news story = blah blah blah [[Image: crew.jpg|right|thumb|150x|Attendees of the WikiVet Launch]]
}}

Gives

WikiNews

Updates on all new and exciting developments of the WikiVet Project.

9th October 2008 - The Wiki is Launched

blah blah blah
Attendees of the WikiVet Launch