Difference between revisions of "Template:Event series"

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search
(Created with the template CreateTopicForm by Tim Holzheim through LambdaActions)
(pushed from orclone by wikipush)
 
(22 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}}
  
 
+
[[Category:Template]]
<noinclude>
 
This is the {{smartMediaWiki}}-Form for "Event series".
 
 
 
Create a new Event series by entering a new pagename for a Event series
 
into the field below.
 
 
 
If you enter an existing Event series pagename - you will edit the Event series
 
with that pagename.
 
{{#forminput:form=Event series|values from concept=Topic}}
 
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>__NOCACHE__{{#set:
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
+
isA={{{isA|EventSeries}}}
{{{section|Event series|level=1|hidden}}}
+
|EventSeries acronym={{PAGENAME}}
= Event series =
+
|Period={{{Period|}}}
 
+
|Unit={{{Unit|}}}
<!-- Event series -->
+
}}{| 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"
{{{for template|Event series}}}
+
! colspan="2" style="background: #ef7c00; color: white" | {{PAGENAME}}
{| class="wikitable"
 
! colspan='2'| Event series
 
 
 
 
|-
 
|-
! DblpSeries:
+
{{#ifeq:{{{Logo|}}}|||{{Tablelongrow|Align=Center|Value=[[Image:{{{Logo}}}|frameless|Logo of {{{Name|{{PAGENAME}}}}}]] }}}}
<!-- Special:Types/text DblpSeries -->
 
| {{{field
 
    |DblpSeries
 
    |property=Event series DblpSeries
 
    |size= 80
 
}}}
 
 
|-
 
|-
! Field:
+
{{#ifeq:{{{Title|}}}|||{{Tablelongrow|Value='''[[title:={{{Title}}}]]'''|Color=#fdddbb}}}}
<!-- Special:Types/text Field -->
 
| {{{field
 
    |Field
 
    |property=Event series Field
 
    |size= 80
 
}}}
 
 
|-
 
|-
! acronym:  
+
{{#ifeq:{{{Field|}}}|||{{Tablelongrow|Value=Categories: {{#arraymap:{{{Field|}}}|, |var|[[:Category:var|var]]|&#32;}}}}}}
<!-- Special:Types/text acronym -->
 
| {{{field
 
    |acronym
 
    |property=Event series acronym
 
    |size= 80 |mandatory
 
}}}
 
 
|-
 
|-
! acronym:
+
{{#ifeq:{{{Homepage|}}}|||{{Tablelongrow|Value=[[homepage:={{{Homepage}}}]]}}}}
<!-- Special:Types/text acronym -->
 
| {{{field
 
    |acronym
 
    |property=Event series acronym
 
    |size= 80 |mandatory
 
}}}
 
 
|-
 
|-
! dblpid:
+
{{#ifeq:{{{WikiDataId|}}}|||{{TableRow|Label=WikiDataId:|Value=[[wikidataid:={{{WikiDataId}}}]]}}}}
<!-- Special:Types/text dblpid -->
 
| {{{field
 
    |dblpid
 
    |property=Event series dblpid
 
    |size= 80
 
}}}
 
 
|-
 
|-
|}
+
{{#ifeq:{{{WikiDataId|}}}|||{{TableRow|Label=Scholia:|Value=https://scholia.toolforge.org/event-series/{{{WikiDataId}}}}}}}
 
 
{{{field|storemode|default=property|hidden}}}
 
{{{end template}}}
 
 
 
<!-- Topic -->
 
{{{section|properties|level=1|hidden}}}
 
= properties =
 
 
 
<!-- Property -->
 
{{{for template|Property|multiple}}}
 
{| class="wikitable"
 
! colspan='2'| Property
 
 
 
 
 
 
|-
 
|-
! allowedValues:
+
{{#ifeq:{{{DblpSeries|}}}|||{{TableRow|Label=DblpSeries:|Value=[[DblpSeries:={{{DblpSeries}}}]]}}}}
<!-- Special:Types/Text allowedValues -->
 
| {{{field
 
    |allowedValues
 
    |property=Property allowedValues
 
    |size=50
 
}}}
 
 
|-
 
|-
! defaultValue:
+
{{#ifeq:{{{WikiCfpSeries|}}}|||{{TableRow|Label=WikiCFP Series:|Value=[[WikiCfpSeries:={{{WikiCfpSeries}}}]]}}}}
<!-- Special:Types/Code defaultValue -->
 
| {{{field
 
    |defaultValue
 
    |property=Property defaultValue
 
    |size=80
 
}}}
 
 
|-
 
|-
! documentation:
+
{{#ifeq:{{{has Twitter|}}}|||{{TableRow|Label=Twitter:|Value=[[Has twitter:={{{has Twitter}}}]]}}}}
<!-- Special:Types/Text documentation -->
 
| {{{field
 
    |documentation
 
    |property=Property documentation
 
    |size=500 |input type=textarea
 
}}}
 
 
|-
 
|-
! index:
+
{{#ifeq:{{{organizer|}}}|||{{TableRow|Label=Organizer:|Value=[[organizer:={{{organizer}}}]]}}}}
<!-- Special:Types/Number index -->
 
| {{{field
 
    |index
 
    |property=Property index
 
    |size= 80
 
}}}
 
 
|-
 
|-
! inputType:
+
{{#ifeq:{{{has Bibliography|}}}|||{{TableRow|Label=Bibliography:|Value=[[has Bibliography:={{{has Bibliography}}}]]}}}}
<!-- Special:Types/Text inputType -->
 
| {{{field
 
    |inputType
 
    |property=Property inputType
 
    |size=50 |input type=dropdown |values=text, combobox, dropdown, textarea, tree, datetime, datepicker, timepicker, datetimepicker, menuselect,two listboxes, datecheck, regexp, radiobutton, googlemaps
 
}}}
 
 
|-
 
|-
! isLink:
+
{{#ifeq:{{{has CORE2017 Rank|}}}|||{{TableRow|Label=CORE Rank (2017):|Value=[[has CORE2017 Rank:={{{has CORE2017 Rank}}}]]}}}}
<!-- Special:Types/Boolean isLink -->
 
| {{{field
 
    |isLink
 
    |property=Property isLink
 
    |size= 80
 
}}}
 
 
|-
 
|-
! label:
+
{{#ifeq:{{{has CORE2018 Rank|}}}|||{{TableRow|Label=CORE Rank (2018):|Value=[[has CORE2018 Rank:={{{has CORE2018 Rank}}}]]}}}}
<!-- Special:Types/Text label -->
 
| {{{field
 
    |label
 
    |property=Property label
 
    |size=50
 
}}}
 
 
|-
 
|-
! mandatory:  
+
{{#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}}]]}} }}
<!-- Special:Types/Boolean mandatory -->
 
| {{{field
 
    |mandatory
 
    |property=Property mandatory
 
    |size=4
 
}}}
 
 
|-
 
|-
! name:  
+
[[isA::{{{isA|Event series}}}]]
<!-- Special:Types/Text name -->
 
| {{{field
 
    |name
 
    |property=Property name
 
    |size=50 |mandatory
 
}}}
 
 
|-
 
|-
! namespace:  
+
{{#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}}]]}} }}
<!-- Special:Types/Text namespace -->
 
| {{{field
 
    |namespace
 
    |property=Property namespace
 
    |size=20
 
}}}
 
 
|-
 
|-
! nullable:
+
<!-- *** TOC ***  -->
<!-- Special:Types/Boolean nullable -->
+
{{Tablesection|Label=Table of Contents|Color=#fdddbb|Textcolor=#fff}}
| {{{field
 
    |nullable
 
    |property=Property nullable
 
    |size= 80
 
}}}
 
 
|-
 
|-
! primaryKey:
+
| colspan="2" style="padding-top: 2px; " |<div id="smworgtable-toc" style="font-size: 90%;">__TOC__</div>
<!-- Special:Types/Boolean primaryKey -->
 
| {{{field
 
    |primaryKey
 
    |property=Property primaryKey
 
    |size=4
 
}}}
 
|-
 
! showInGrid:
 
<!-- Special:Types/Boolean showInGrid -->
 
| {{{field
 
    |showInGrid
 
    |property=Property showInGrid
 
    |size= 80
 
}}}
 
|-
 
! size:
 
<!-- Special:Types/Number size -->
 
| {{{field
 
    |size
 
    |property=Property size
 
    |size=3
 
}}}
 
|-
 
! sortPos:
 
<!-- Special:Types/Number sortPos -->
 
| {{{field
 
    |sortPos
 
    |property=Property sortPos
 
    |size=3
 
}}}
 
|-
 
! topic:
 
<!-- Special:Types/Page topic -->
 
| {{{field
 
    |topic
 
    |property=Property topic
 
    |size= 80 |input type=dropdown
 
}}}
 
|-
 
! type:
 
<!-- Special:Types/Page type -->
 
| {{{field
 
    |type
 
    |property=Property type
 
    |size= 80 |input type=dropdown
 
}}}
 
|-
 
! uploadable:
 
<!-- Special:Types/Boolean uploadable -->
 
| {{{field
 
    |uploadable
 
    |property=Property uploadable
 
    |size=4
 
}}}
 
|-
 
! values_from:
 
<!-- Special:Types/Code values_from -->
 
| {{{field
 
    |values_from
 
    |property=Property values_from
 
    |size=200 |input type=textarea
 
}}}
 
 
|-
 
|-
 +
<!--  *** 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>|}}
 
|}
 
|}
{{{field|storemode|default=property|hidden}}}
+
{{#if: {{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average}} |
{{{end template}}}
+
{{{Title}}} ({{PAGENAME}}) has an average acceptance rate of [[has Average Acceptance Rate:={{#expr:{{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average}} round 1}}]]%
<!-- Property -->
+
{{#if: {{#ask: [[Event in series::{{PAGENAME}}]] | ?Acceptance rate | format=average | sort = Start date| order = DESC | limit = 5}} |
<headertabs/>
+
(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}}]]%)
{{{section|Freitext|level=1|hidden}}}
+
}}.
=Freitext=
+
}}
{{{standard input|free text|rows=10}}}
+
==Events==
{{{standard input|summary}}}
+
{{EventSeriesOverview|{{PAGENAME}}}}  
 +
 
 +
==Submission/Acceptance==
 +
{{#ask: [[Event in series::{{PAGENAME}}]][[Submitted papers::>0]][[Accepted papers::>0]]
 +
|?Submitted papers
 +
|?Accepted papers
 +
|?Acceptance rate
 +
|sort=,
 +
|order=descending
 +
|format=jqplotseries
 +
|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
 +
}}
  
{{{standard input|changes}}}
+
==Locations==
 +
{{#ask: [[Event in series::{{PAGENAME}}]]
 +
| ?Has coordinates
 +
| format = openlayers
 +
}}
 +
[[Category:Event series]]
 +
<!--
 +
{{#ifeq:{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}|||{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}}}
 +
-->
 +
{{#ifeq:{{{Field|}}}|||{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]|&#32;}}}}
 +
{{#ifeq:{{{Field|}}}|||{{#arraymap:{{{Field|}}}|, |var|[[Field::Category:var| ]]|&#32;}}}}
  
{{{standard input|save}}}
+
{{#default_form:EventSeries}}
{{{standard input|cancel}}}
 
 
</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