Difference between revisions of "Template:Frame"

From EN MetaNet Wiki
Jump to: navigation, search
(Changing frame to concept mapping to run via javascript)
 
(overridden at import)
 
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Frame
 
{{Frame
|Family=
 
 
|Description=
 
|Description=
|Entered by=
 
|Last reviewed by=
 
|Status=
 
|Program alias=
 
 
|FrameNet frame=
 
|FrameNet frame=
 
|Other aliases=
 
|Other aliases=
|Comments=
 
|Tags=
 
 
|Type=
 
|Type=
|Cultural information=
 
|Applicability=
 
 
|Roles={{Role}}{{Role}}
 
|Roles={{Role}}{{Role}}
 
|Bindings={{Binding}}{{Binding}}
 
|Bindings={{Binding}}{{Binding}}
Line 38: Line 29:
 
! Closest FrameNet Frame(s)
 
! Closest FrameNet Frame(s)
 
| {{#arraymap:{{{FrameNet frame|}}}|,|%|[https://framenet2.icsi.berkeley.edu/fnReports/data/frame/%.xml %]}}{{#set:Frame.FrameNet frame={{{FrameNet frame|}}}}}
 
| {{#arraymap:{{{FrameNet frame|}}}|,|%|[https://framenet2.icsi.berkeley.edu/fnReports/data/frame/%.xml %]}}{{#set:Frame.FrameNet frame={{{FrameNet frame|}}}}}
|-
 
! Maps to IARPA Source Concept(s)
 
| <div class='mapframetoconcept' data-frame='{{FULLPAGENAME}}'></div>
 
 
|-
 
|-
 
! Other aliases
 
! Other aliases
 
| {{#arraymap:{{{Other aliases|}}}|,|x|[[Frame.Alias::x]]}}
 
| {{#arraymap:{{{Other aliases|}}}|,|x|[[Frame.Alias::x]]}}
|-
 
! Comments
 
| [[Frame.Comments::{{{Comments|}}}]]
 
|-
 
! Family
 
| {{#arraymap:{{{Family|}}}|,|x|[[Frame.Family::Frame family:x|x]]}}
 
|-
 
! Tags
 
| {{#arraymap:{{{Tags|}}}|,|x|[[Tag::x]]}}
 
 
|-
 
|-
 
! Type
 
! Type
 
| {{#arraymap:{{{Type|}}}|,|x|[[Frame.Type::x]]}}
 
| {{#arraymap:{{{Type|}}}|,|x|[[Frame.Type::x]]}}
|-
 
! Cultural Scope
 
| {{#arraymap:{{{Cultural scope|}}}|,|x|[[Has cultural scope::x]]}}
 
|-
 
! Cultural Information
 
| [[Frame.Cultural information::{{{Cultural information|}}}]]
 
|- {{#ifeq:{{{Applicability|}}}|{{Lang|en}}|style="display:none;"| }}
 
! Applicability
 
| {{#arraymap:{{{Applicability|}}}|,|x|[[Frame.Applicability::x]]}}
 
 
|}
 
|}
 
'''Roles:'''
 
'''Roles:'''
Line 81: Line 51:
 
{{{Relevant LUs}}}
 
{{{Relevant LUs}}}
  
'''Lexical Units in Related Frames:'''
+
'''Lexical Units in Related FrameNet Frames:'''
 
{{FrameNetLUs|frames={{{FrameNet frame|}}}}}
 
{{FrameNetLUs|frames={{{FrameNet frame|}}}}}
 
----
 
{| class="wikitable"
 
! Status
 
|{{#arraymap:{{{Status|}}}|,|x|[[Status::x]]}}
 
|-
 
! Entered by
 
| {{#arraymap:{{{Entered by|}}}|,|x|[[Entered by::x]]}}
 
|-
 
! Last reviewed by
 
| {{#arraymap:{{{Last reviewed by|}}}|,|x|[[Last reviewed by::x]]}}
 
|-
 
! Metaphor Program Alias
 
| [[Has program alias::{{{Program alias|}}}]]
 
|}
 
  
 
----
 
----
Line 126: Line 81:
 
}}|gv||Frame}}
 
}}|gv||Frame}}
 
</div>
 
</div>
{{#if:{{{LinkEnglish|}}}|[[en:Frame:{{{LinkEnglish|}}}]]|}}{{#if:{{{LinkSpanish|}}}|[[es:Frame:{{{LinkSpanish|}}}]]|}}{{#if:{{{LinkPersian|}}}|[[fa:Frame:{{{LinkPersian|}}}]]|}}{{#if:{{{LinkRussian|}}}|[[ru:Frame:{{{LinkRussian|}}}]]|}}
 
 
[[Category:Frame]]
 
[[Category:Frame]]
 
</includeonly>
 
</includeonly>

Latest revision as of 12:33, 6 August 2016

This is the main "Frame" template, which also embeds the templates for its roles, bindings, related frames, inferences, and lexical units. It should be called in the following format:

{{Frame
|Description=
|FrameNet frame=
|Other aliases=
|Type=
|Roles={{Role}}{{Role}}
|Bindings={{Binding}}{{Binding}}
|Related Frames={{Related Frame}}{{Related Frame}}
|Inferences={{Inference}}{{Inference}}
|Related LUs={{LUs}}{{LUs}}
}}

Edit the page to see the template text.