Template

Difference between revisions of "Publication"

From LRDE

 
(54 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
<noinclude>
{{#if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}}}} |}}
 
  +
This is the "Publication" template.
  +
It should be called in the following format:
  +
<pre>
  +
{{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
  +
}}
  +
</pre>
  +
Edit the page to see the template text.
  +
</noinclude><includeonly>{{#if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}}}} |}}
 
<div class="sideBox">
 
<div class="sideBox">
  +
{{#if: {{{authors|}}} | ; Authors : {{#arraymaptemplate:{{{authors}}}|PrintAuthor|,|,<nowiki> </nowiki> }} |
{{#if: {{{author0|}}} |
 
  +
}}{{#if: {{{booktitle|}}} | ; Where : [[Published in::{{{booktitle}}}]] |
; Authors
 
: [[Has author::{{{author0}}}]]{{#if: {{{author1|}}} | ,
+
}}{{#if: {{{journal|}}} | ; Journal : [[Published in::{{{journal}}}]] |
  +
}}{{#if: {{{howpublished|}}} | ; Work group : [[Published in::{{{howpublished}}}]] |
: [[Has author::{{{author1}}}]]{{#if: {{{author2|}}} | ,
 
: [[Has author::{{{author2}}}]]{{#if: {{{author3|}}} | ,
 
: [[Has author::{{{author3}}}]]{{#if: {{{author4|}}} | ,
 
: [[Has author::{{{author4}}}]]{{#if: {{{author5|}}} | ,
 
: [[Has author::{{{author5}}}]]{{#if: {{{author6|}}} | ,
 
: [[Has author::{{{author6}}}]]{{#if: {{{author7|}}} | ,
 
: [[Has author::{{{author7}}}]]{{#if: {{{author8|}}} | ,
 
: [[Has author::{{{author8}}}]]{{#if: {{{author9|}}} | ,
 
: [[Has author::{{{author9}}}]]{{#if: {{{author10|}}} | ,
 
: [[Has author::{{{author10}}}]]{{#if: {{{author11|}}} | ,
 
: [[Has author::{{{author11}}}]]{{#if: {{{author12|}}} | ,
 
: [[Has author::{{{author12}}}]]{{#if: {{{author13|}}} | ,
 
: [[Has author::{{{author13}}}]]{{#if: {{{author14|}}} | ,
 
: [[Has author::{{{author14}}}]]{{#if: {{{author15|}}} | ,
 
: [[Has author::{{{author15}}}]]{{#if: {{{author16|}}} | ,
 
: [[Has author::{{{author16}}}]]{{#if: {{{author17|}}} | ,
 
: [[Has author::{{{author17}}}]]{{#if: {{{author18|}}} | ,
 
: [[Has author::{{{author18}}}]]{{#if: {{{author19|}}} | ,
 
: [[Has author::{{{author19}}}]]{{#if: {{{author20|}}} | ,
 
: [[Has author::{{{author20}}}]]{{#if: {{{author21|}}} | ,
 
: [[Has author::{{{author21}}}]]{{#if: {{{author22|}}} | ,
 
: [[Has author::{{{author22}}}]]{{#if: {{{author23|}}} | ,
 
: [[Has author::{{{author23}}}]]{{#if: {{{author24|}}} | ,
 
: [[Has author::{{{author24}}}]]{{#if: {{{author25|}}} | ,
 
: [[Has author::{{{author25}}}]]{{#if: {{{author26|}}} | ,
 
: [[Has author::{{{author26}}}]]{{#if: {{{author27|}}} | ,
 
: [[Has author::{{{author27}}}]]{{#if: {{{author28|}}} | ,
 
: [[Has author::{{{author28}}}]]{{#if: {{{author29|}}} | ,
 
: [[Has author::{{{author29}}}]] |}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
 
|
 
}}{{#if: {{{type|}}} | ; Type : {{{type}}} |
 
}}{{#if: {{{publisher|}}} | ; Publisher : {{{publisher}}} |
 
 
}}{{#if: {{{address|}}} | ; Place : {{{address}}} |
 
}}{{#if: {{{address|}}} | ; Place : {{{address}}} |
}}{{#if: {{{booktitle|}}} | ; Where : {{{booktitle}}} |
+
}}{{#if: {{{type|}}} | ; Type : [[Publication type::{{{type}}}]] |
  +
}}{{#if: {{{publisher|}}} | ; Publisher : [[Has publisher::{{{publisher}}}]] |
 
}}{{#if: {{{notes|}}} | ; Status : {{{notes}}} |
 
}}{{#if: {{{notes|}}} | ; Status : {{{notes}}} |
  +
}}{{#if: {{{lrdeprojects|}}} | ; Projects : {{#arraymap:{{{lrdeprojects|}}}|,|z|[[Related project::z]]}} |
  +
}}{{#if: {{{lrdekeywords|}}} | ; Keywords : {{#arraymap:{{{lrdekeywords|}}}|,|z|[[Has keyword::z]]}} |
 
}}
 
}}
 
; Date : {{{date}}}
 
; Date : {{{date}}}
 
</div>
 
</div>
 
{{#if: {{{abstract|}}} |
 
{{#if: {{{abstract|}}} |
  +
 
== Abstract ==
 
== Abstract ==
   
[[Abstract::{{{abstract}}}]]
+
{{{abstract}}}
|
 
}}{{#if: {{{bibtex|}}} |
 
== Bibtex ==
 
   
  +
|}}
<small><pre>
 
  +
{{#if: {{{lrdepaper|}}}{{{lrdeslides|}}}{{{lrdeposter|}}} |
{{{bibtex}}}
 
</pre></small>
 
   
  +
== Documents ==
{{#ifeq: {{{type|}}} | inproceedings | [[Category:Publications]] | }}
 
  +
{{#ifeq: {{{type|}}} | incollection | [[Category:Publications]] | }}
 
{{#ifeq: {{{type|}}} | article | [[Category:Publications]] | }}
+
{{#if: {{{lrdepaper|}}} | * [[Publication paper::{{{lrdepaper}}}|Paper]] | }}
{{#ifeq: {{{type|}}} | misc | [[Category:Publications]] | }}
+
{{#if: {{{lrdereport|}}} | * [[Publication report::{{{lrdereport}}}|Report]] | }}
{{#ifeq: {{{type|}}} | phdthesis | [[Category:Publications]] | }}
+
{{#if: {{{lrdeslides|}}} | * [[Publication slides::{{{lrdeslides}}}|Slides]] | }}
{{#ifeq: {{{type|}}} | techreport | [[Category:Publications]] | }}
+
{{#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 bibtex id={{{id}}}}}
 
{{#set:Has title={{{title}}}}}
 
{{#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 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.