Template

Difference between revisions of "Publication"

From LRDE

(Created page with "{| class="sideBox" |+ | ; Authors : {{{authors}}} {{#if: {{{type|}}} | ; Type : {{{type}}} | }} ; Date : [[News date::{{{date}}}]] |} == Abstract == [[Abstract::{{{abstract}...")
 
 
(84 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
<noinclude>
{| class="sideBox"
 
  +
This is the "Publication" template.
|+
 
  +
It should be called in the following format:
|
 
  +
<pre>
; Authors : {{{authors}}}
 
  +
{{Publication
{{#if: {{{type|}}} | ; Type : {{{type}}} | }}
 
  +
| published = true|false (if true: the publication appear in the news)
; Date : [[News date::{{{date}}}]]
 
  +
| date = XXXX-XX-XX
|}
 
  +
| authors = list of authors separated by a comma
  +
| title =
  +
| booktitle =
  +
| series =
  +
| volume =
  +
| pages =
  +
| notes =
  +
| address =
  +
| publisher =
  +
| urllrde =
  +
| abstract =
  +
| type =
  +
| id =
  +
| bibtex =
  +
| lrdeinc = transcluded page
  +
| lrdepaper = url
  +
| lrdeslides = url
  +
| lrdeposter = url
  +
| lrdeprojects = list of project separated by a comma
  +
| lrdekeywords = list of keywords separated by a comma
  +
}}
  +
</pre>
  +
Edit the page to see the template text.
  +
</noinclude><includeonly>{{#if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}}}} |}}
 
<div class="sideBox">
  +
{{#if: {{{authors|}}} | ; Authors : {{#arraymaptemplate:{{{authors}}}|PrintAuthor|,|,<nowiki> </nowiki> }} |
  +
}}{{#if: {{{booktitle|}}} | ; Where : [[Published in::{{{booktitle}}}]] |
  +
}}{{#if: {{{journal|}}} | ; Journal : [[Published in::{{{journal}}}]] |
  +
}}{{#if: {{{howpublished|}}} | ; Work group : [[Published in::{{{howpublished}}}]] |
  +
}}{{#if: {{{address|}}} | ; Place : {{{address}}} |
 
}}{{#if: {{{type|}}} | ; Type : [[Publication type::{{{type}}}]] |
  +
}}{{#if: {{{publisher|}}} | ; Publisher : [[Has publisher::{{{publisher}}}]] |
  +
}}{{#if: {{{notes|}}} | ; Status : {{{notes}}} |
  +
}}{{#if: {{{lrdeprojects|}}} | ; Projects : {{#arraymap:{{{lrdeprojects|}}}|,|z|[[Related project::z]]}} |
  +
}}{{#if: {{{lrdekeywords|}}} | ; Keywords : {{#arraymap:{{{lrdekeywords|}}}|,|z|[[Has keyword::z]]}} |
  +
}}
 
; Date : {{{date}}}
  +
</div>
  +
{{#if: {{{abstract|}}} |
   
 
== Abstract ==
 
== Abstract ==
   
[[Abstract::{{{abstract}}}]]
+
{{{abstract}}}
  +
 
|}}
  +
{{#if: {{{lrdepaper|}}}{{{lrdeslides|}}}{{{lrdeposter|}}} |
  +
  +
== Documents ==
  +
  +
{{#if: {{{lrdepaper|}}} | * [[Publication paper::{{{lrdepaper}}}|Paper]] | }}
  +
{{#if: {{{lrdereport|}}} | * [[Publication report::{{{lrdereport}}}|Report]] | }}
  +
{{#if: {{{lrdeslides|}}} | * [[Publication slides::{{{lrdeslides}}}|Slides]] | }}
  +
{{#if: {{{lrdeposter|}}} | * [[Publication poster::{{{lrdeposter}}}|Poster]] | }}
  +
  +
|}}
  +
{{#if: {{{lrdeinc|}}} |
  +
  +
{{:{{{lrdeinc}}}}}
  +
  +
|}}
  +
{{#if: {{{bibtex|}}} |
  +
  +
== Bibtex ([https://www.lrde.epita.fr/dload/papers/lrde.bib lrde.bib]) ==
  +
  +
<small>
  +
{{#tag:pre|{{{bibtex}}}}}
  +
</small>
  +
  +
  +
|}}
  +
  +
{{#ifeq: {{{published|false}}} | true | [[Category:Publications]] | }}
  +
  +
{{#set:Has bibtex id={{{id}}}}}
  +
{{#set:Has title={{{title}}}}}
  +
<!--{{#set:Abstract={{{abstract}}}}}-->
  +
  +
<!-- properties used for the news page -->
  +
{{#set:Published has news={{{published|false}}}}}
  +
{{#set:News title='''Publication''' [[Publications/{{{id}}}|{{{title}}}]] {{#if: {{{booktitle|}}} | in ''{{{booktitle}}}'' | }}{{#if: {{{journal|}}} | in ''{{{journal}}}'' | }}}}
 
{{#set:News date={{{date}}}}}
  +
{{#set:News year={{#time: Y | {{{date}}}}}}}
  +
</includeonly>

Latest revision as of 19:21, 5 January 2018

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

{{Publication
| published = true|false (if true: the publication appear in the news)
| date = XXXX-XX-XX
| authors = list of authors separated by a comma
| title =
| booktitle =
| series =
| volume =
| pages =
| notes =
| address =
| publisher =
| urllrde =
| abstract =
| type =
| id =
| bibtex =
| lrdeinc = transcluded page
| lrdepaper = url
| lrdeslides = url
| lrdeposter = url
| lrdeprojects = list of project separated by a comma
| lrdekeywords = list of keywords separated by a comma
}}

Edit the page to see the template text.