Template:Motif: Difference between revisions

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

Latest revision as of 20:11, 25 February 2026