Difference between revisions of "Template:Event series"

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search
(Created with the template CreateTopicTemplate by Tim Holzheim through LambdaActions)
(pushed from orclone by wikipush)
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>Use it on an article about an event series, e.g. a conference series such as:
 +
[[VNC]], [[SAGT]], [[ICSE]] or the [[WWW]].
  
 +
This template needs to be fixed see {{Ticket|30|Cleanup Templates}}
 +
= Usage=
 +
<pre>
 +
{{EventSeries
 +
}}
 +
</pre>
  
 +
Properties set:
 +
* {{Link|target=Property:Acronym}}
 +
* {{Link|target=Property:Title}}
 +
# {{Link|target=Property:DblpSeries}}
 +
# {{Link|target=Property:Wikidataid}}
 +
# {{Link|target=Property:WikiCfpSeries}}
 +
# {{Link|target=Property:EventSeries acronym}}
 +
# {{Link|target=Property:Logo}}
 +
# {{Link|target=Property:Period}}
 +
# {{Link|target=Property:Unit}}
  
<noinclude>
+
[[Category:Template]]
 
 
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>__NOCACHE__{{#set:
 
+
isA={{{isA|EventSeries}}}
{{#switch:{{{storemode|}}}
+
|EventSeries acronym={{PAGENAME}}
 
+
|Period={{{Period|}}}
    |none=
+
|Unit={{{Unit|}}}
    |subobject=
+
}}{| cellspacing="0" cellpadding="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
      {{#subobject:-
+
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}
        |isA=Event series
+
|-
       
+
{{#ifeq:{{{Logo|}}}|||{{Tablelongrow|Align=Center|Value=[[Image:{{{Logo}}}|frameless|Logo of {{{Name|{{PAGENAME}}}}}]] }}}}
        |Event series DblpSeries={{{DblpSeries|}}}
+
|-
        |Event series Field={{{Field|}}}
+
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value='''[[title:={{{Title}}}]]'''|Color=#fdddbb}}}}
        |Event series acronym={{{acronym|}}}
+
|-
        |Event series acronym={{{acronym|}}}
+
{{#ifeq:{{{Field|}}}|||{{Tablelongrow|Value=Categories: {{#arraymap:{{{Field|}}}|, |var|[[:Category:var|var]]|&#32;}}}}}}
        |Event series dblpid={{{dblpid|}}}
+
|-
      }}
+
{{#ifeq:{{{Homepage|}}}|||{{Tablelongrow|Value=[[homepage:={{{Homepage}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{WikiDataId|}}}|||{{TableRow|Label=WikiDataId:|Value=[[wikidataid:={{{WikiDataId}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{WikiDataId|}}}|||{{TableRow|Label=Scholia:|Value=https://scholia.toolforge.org/event-series/{{{WikiDataId}}}}}}}
 +
|-
 +
{{#ifeq:{{{DblpSeries|}}}|||{{TableRow|Label=DblpSeries:|Value=[[DblpSeries:={{{DblpSeries}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{WikiCfpSeries|}}}|||{{TableRow|Label=WikiCFP Series:|Value=[[WikiCfpSeries:={{{WikiCfpSeries}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{has Twitter|}}}|||{{TableRow|Label=Twitter:|Value=[[Has twitter:={{{has Twitter}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{organizer|}}}|||{{TableRow|Label=Organizer:|Value=[[organizer:={{{organizer}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{has Bibliography|}}}|||{{TableRow|Label=Bibliography:|Value=[[has Bibliography:={{{has Bibliography}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{has CORE2017 Rank|}}}|||{{TableRow|Label=CORE Rank (2017):|Value=[[has CORE2017 Rank:={{{has CORE2017 Rank}}}]]}}}}
 +
|-
 +
{{#ifeq:{{{has CORE2018 Rank|}}}|||{{TableRow|Label=CORE Rank (2018):|Value=[[has CORE2018 Rank:={{{has CORE2018 Rank}}}]]}}}}
 +
|-
 +
{{#if: {{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average}} | {{TableRow|Label=Avg. acceptance rate:|Value=[[has Average Acceptance Rate:={{#expr:{{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average}} round 1}}]]}} }}
 +
|-
 +
[[isA::{{{isA|Event series}}}]]
 +
|-
 +
{{#if: {{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average | sort = Start date| order = DESC | limit = 5}}| {{TableRow|Label=Avg. acceptance rate (last 5 years):|Value=[[has Average 5y Acceptance Rate:={{#expr:{{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average | sort = Start date| order = DESC | limit = 5}} round 1}}]]}} }}
 +
|-
 +
<!--  *** TOC ***  -->
 +
{{Tablesection|Label=Table of Contents|Color=#fdddbb|Textcolor=#fff}}
 +
|-
 +
| colspan="2" style="padding-top: 2px; " |<div id="smworgtable-toc" style="font-size: 90%;">__TOC__</div>
 +
|-
 +
<!--  *** Twitter ***  {{#ifeq:{{{has Twitter|}}}||| -->
 +
{{#if:{{{Twitter account|}}}|{{Tablesection|Label=Tweets by {{{has Twitter}}}|Color=#fdddbb|Textcolor=#fff}}|}}
 +
|-
 +
| colspan="2" style="padding-top: 2px; " | {{#if:{{{Twitter account|}}}|<div><html><a class="twitter-timeline" height="400" width="350" href="https://twitter.com/</html>{{{has Twitter}}}<html>">Tweets by {{{has Twitter}}}</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></html></div>|}}
 +
|}
 +
{{#if: {{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average}} |
 +
{{{Title}}} ({{PAGENAME}}) has an average acceptance rate of [[has Average Acceptance Rate:={{#expr:{{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average}} round 1}}]]%
 +
{{#if: {{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average | sort = Start date| order = DESC | limit = 5}} |
 +
(last 5 years  [[has Average 5y Acceptance Rate:={{#expr:{{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average | sort = Start date| order = DESC | limit = 5}} round 1}}]]%)
 +
}}.
 +
}}
 +
==Events==
 +
{{EventSeriesOverview|{{PAGENAME}}}}  
  
    |#default=
+
==Submission/Acceptance==
      {{#set:
+
{{#ask: [[Event in series::{{PAGENAME}}]][[Submitted papers::>0]][[Accepted papers::>0]]
        |isA=Event series
+
|?Submitted papers
       
+
|?Accepted papers
        |Event series DblpSeries={{{DblpSeries|}}}
+
|?Acceptance rate
        |Event series Field={{{Field|}}}
+
|sort=,
        |Event series acronym={{{acronym|}}}
+
|order=descending
        |Event series acronym={{{acronym|}}}
+
|format=jqplotseries
        |Event series dblpid={{{dblpid|}}}
+
|charttype=bar
      }}
+
|height=480|width=90%
  }}
+
|headers=show
 +
|direction=vertical
 +
|group=property
 +
|numbersaxislabel=
 +
|datalabels=value
 +
|show=true
 +
|theme=simple
 +
|mainlabel={{PAGENAME}}
 +
|valueformat=%d
 +
|class=demo-float-right
 +
|grouplabel=subject
 +
|chartlegend=ne
 +
}}
  
 
+
==Locations==
{{#switch: {{{viewmode|}}}
+
{{#ask: [[Event in series::{{PAGENAME}}]]
 
+
| ?Has coordinates
    |hidden=
+
| format = openlayers
    |masterdetail=
+
}}
= properties =
+
[[Category:Event series]]
      {{#ask:[[Concept:Property]][[Property topic::Concept:Event series]]
+
<!--
     
+
{{#ifeq:{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}|||{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}}}
      |?Property allowedValues = allowedValues
+
-->
      |?Property defaultValue = defaultValue
+
{{#ifeq:{{{Field|}}}|||{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}}}
      |?Property documentation = documentation
+
{{#ifeq:{{{Field|}}}|||{{#arraymap:{{{Field|}}}|, |var|[[Field::Category:var| ]]|&#32;}}}}
      |?Property index = index
 
      |?Property inputType = inputType
 
      |?Property isLink = isLink
 
      |?Property label = label
 
      |?Property mandatory = mandatory
 
      |?Property name = name
 
      |?Property namespace = namespace
 
      |?Property nullable = nullable
 
      |?Property primaryKey = primaryKey
 
      |?Property showInGrid = showInGrid
 
      |?Property size = size
 
      |?Property sortPos = sortPos
 
      |?Property topic = topic
 
      |?Property type = type
 
      |?Property uploadable = uploadable
 
      |?Property values_from = values_from
 
        |sort=Property name
 
        |order=ascending
 
      }}
 
    |tableheader={{{!}} class='wikitable'
 
     
 
        !DblpSeries!
 
        !Field!
 
        !acronym!
 
        !acronym!
 
        !dblpid!
 
      {{!}}-
 
    |tablerow=
 
     
 
        {{!}}{{{DblpSeries|}}}{{!}}
 
        {{!}}{{{Field|}}}{{!}}
 
        {{!}}{{{acronym|}}}{{!}}
 
        {{!}}{{{acronym|}}}{{!}}
 
        {{!}}{{{dblpid|}}}{{!}}
 
      -
 
    |tablefooter={{!}}}
 
    |labelfield=
 
     
 
        DblpSeries=={{#if:{{{DblpSeries|}}}|{{{DblpSeries|}}}|}}<br>
 
        Field=={{#if:{{{Field|}}}|{{{Field|}}}|}}<br>
 
        acronym=={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>
 
        acronym=={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>
 
        dblpid=={{#if:{{{dblpid|}}}|{{{dblpid|}}}|}}<br>
 
    |#default=
 
      {{{!}} class='wikitable'
 
        ! colspan='2' {{!}}Event series
 
        {{!}}-
 
        {{#switch:{{{storemode|}}}
 
          |property=
 
            ! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Event series/{{FULLPAGENAME}}|title=edit}}
 
            {{!}}-
 
        }}
 
       
 
          !DblpSeries
 
          {{!}}
 
             {{#if:{{{DblpSeries|}}}|{{{DblpSeries|}}}|}}
 
            {{!}}-
 
       
 
          !Field
 
          {{!}}
 
             {{#if:{{{Field|}}}|{{{Field|}}}|}}
 
            {{!}}-
 
       
 
          !acronym
 
          {{!}}
 
             {{#if:{{{acronym|}}}|{{{acronym|}}}|}}
 
            {{!}}-
 
       
 
          !acronym
 
          {{!}}
 
             {{#if:{{{acronym|}}}|{{{acronym|}}}|}}
 
            {{!}}-
 
       
 
          !dblpid
 
          {{!}}
 
             {{#if:{{{dblpid|}}}|{{{dblpid|}}}|}}
 
            {{!}}-
 
       
 
      {{!}}}
 
  }}
 
  
 +
{{#default_form:EventSeries}}
 
</includeonly>
 
</includeonly>

Latest revision as of 16:27, 2 December 2021

Use it on an article about an event series, e.g. a conference series such as: VNC, SAGT, ICSE or the WWW.

This template needs to be fixed see Template:Ticket

Usage

{{EventSeries
}}

Properties set:

  1. Property:DblpSeries
  2. Property:Wikidataid
  3. Property:WikiCfpSeries
  4. Property:EventSeries acronym
  5. Property:Logo
  6. Property:Period
  7. Property:Unit