Difference between revisions of "Template:Post"

From Bioinformatics Core Wiki
Line 21: Line 21:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{DISPLAYTITLE:{{{Title}}}}}{{#vardefine:visiblepost|{{#if:{{{Approved|}}}|true|false}}}}{{#var:visiblepost}}
+
</noinclude><includeonly>{{DISPLAYTITLE:{{{Title}}}}}{{#vardefine:visiblepost|{{#if:{{{Approved|}}}|true|false}}}}Approval:{{#var:visiblepost}}
 
<div class="post">[[Post Title::{{{Title|}}}|]]{{#if:{{{End date|}}}|<div class="post_events">''Starts on'' [[Post Date Start::{{{Start date}}}]] ''and ends on'' [[Post Date End::{{{End date}}}]]</div>|}}<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></div>
 
<div class="post">[[Post Title::{{{Title|}}}|]]{{#if:{{{End date|}}}|<div class="post_events">''Starts on'' [[Post Date Start::{{{Start date}}}]] ''and ends on'' [[Post Date End::{{{End date}}}]]</div>|}}<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></div>
 
[[Category:{{{Category|}}}]][[Post Summary::{{{Summary|}}}|]]
 
[[Category:{{{Category|}}}]][[Post Summary::{{{Summary|}}}|]]

Revision as of 13:34, 26 October 2011

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

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

Edit the page to see the template text.

Bioinformatics Core Facility @ CRG — 2011-2024