Template:Motif: Difference between revisions
From The Seven Sages of Rome
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Motifs|CategoryName=Motif|PAGENAME={{PAGENAME}}}}{{#if:{{{Has Description|}}}|{{{Has Description|}}}|}} | <includeonly>__NOTOC__ | ||
{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Motifs|CategoryName=Motif|PAGENAME={{PAGENAME}}}}{{#if:{{{Has Description|}}}|{{{Has Description|}}}|}} | |||
<div class="noexcerpt"> | <div class="noexcerpt"> | ||
<div class="cc-page"> | |||
<div class="row"> | <div class="row"> | ||
<div class="col-12 col-lg-3"> | |||
<section class="cc-card"> | |||
<h2 class="cc-card-heading">Motif Hierarchy</h2> | |||
<div class="cc-card-body cc-card-body--table"> | |||
{{#ask: | |||
[[Category:Motif]] | |||
|format=tree | |||
|class=collapsible-tree | |||
|parent=Is Child Of | |||
|root={{#invoke:RootFinder|search|{{PAGENAME}}|Is Child Of}} | |||
}} | |||
</div> | |||
</section> | |||
{{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}} | {{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}} | ||
</div> | |||
<div class="col-12 col-lg-9"> | |||
<section class="cc-card"> | |||
<h2 class="cc-card-heading">Connected Textual Entities</h2> | |||
<div class="cc-card-body cc-card-body--table"> | |||
<div class="motif-filter">{{#ask: | |||
[[Category:Inset Story||Version||Secondary Version]][[Has Motif::{{PAGENAME}}]] | |||
|?=Inset Story | |||
|?Is Entity Type=Entity Type|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none | |||
|mainlabel=- | |||
|?Has Motif=Motif|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none | |||
|format=filtered | |||
|headers=plain | |||
|views=table=Tabelle | |||
|default={{PAGENAME}} isn't a motif in any recorded stories | |||
|table view class=table table-hover sortable | |||
}}</div> | }}</div> | ||
</div> | </div> | ||
</section> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
[[Category:Motif]]{{#set:Is Entity Type=Motif}}{{#set:Is Child Of={{{Is Child Of|}}}}} | [[Category:Motif]]{{#set:Is Entity Type=Motif}}{{#set:Is Child Of={{{Is Child Of|}}}}} | ||
</includeonly> | </includeonly> | ||