Difference between revisions of "Template:Post"

From Bioinformatics Core Wiki
Line 20: Line 20:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
[[Post Title::{{{Title|}}}|]]Created on: [[Creation date::{{{Creation_date|}}}]] by [[User:{{{Author}}}|{{{Author}}}]][[Post Author::{{{Author}}}|]] — {{#arraymap:{{{Tag|}}}|,|x|[[Special:SearchByProperty/Post-20Tag/x|x]]}}{{#arraymap:{{{Tag|}}}|,|x|[[Post_Tag::x| ]]|}}
+
<div class="post">[[Post Title::{{{Title|}}}|]]<div class="post_subtitle">Created on: [[Creation date::{{{Creation_date|}}}]] by [[User:{{{Author}}}|{{{Author}}}]][[Post Author::{{{Author}}}|]] — <span class="post_tags">{{#arraymap:{{{Tag|}}}|,|x|[[Special:SearchByProperty/Post-20Tag/x|x]]}}{{#arraymap:{{{Tag|}}}|,|x|[[Post_Tag::x| ]]|}}</span></p>
{{#if:{{{End date|}}}|<br />''Starts on'' [[Post Date Start::{{{Start date}}}]] ''and ends on'' [[Post Date End::{{{End date}}}]]|}}
+
{{#if:{{{End date|}}}|<div class="post_events">''Starts on'' [[Post Date Start::{{{Start date}}}]] ''and ends on'' [[Post Date End::{{{End date}}}]]|</div>}}
 
[[Category:{{{Category|}}}]][[Post Summary::{{{Summary|}}}|]]
 
[[Category:{{{Category|}}}]][[Post Summary::{{{Summary|}}}|]]
<div style='float:right;margin:5px 0 10px 10px'>{{#if:{{{Geo|}}}|{{#display_point:{{{Geo}}}|service=googlemaps|width=300|height=300|controls=small|type=hybrid|autozoom=off}}[[Geo::{{{Geo}}}|]]<p align='right'>''[[Geo details::{{{Geo_details}}}]]''</p>|}}</div>
+
<div style='float:right;margin:5px 0 10px 10px'>{{#if:{{{Geo|}}}|{{#display_point:{{{Geo}}}|service=googlemaps|width=300|height=300|controls=small|type=hybrid|autozoom=off}}[[Geo::{{{Geo}}}|]]<p class=">''[[Geo details::{{{Geo_details}}}]]''</p>|}}</div>
 
+
<div class="post_body">[[Post Body::{{{Body|}}}]]</div>
[[Post Body::{{{Body|}}}]]
+
</div>
 
+
 
</includeonly>
 
</includeonly>

Revision as of 14:21, 26 August 2010

This is the "Post" template. It should be called in the following format:

{{Post
|Title=
|Body=
|Summary=
|Category=
|Tag=
|Language=
|Start date=
|End date=
|Geo=
|Geo_details=
|Creation_date=
|Author=
}}

Edit the page to see the template text.

Bioinformatics Core Facility @ CRG — 2011-2024