Template:Motif: Difference between revisions

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

Latest revision as of 20:11, 25 February 2026