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">
    <!-- Left Column -->
<div class="col-12 col-lg-3">
    <div class="col-12 col-lg-3">
 
{| class="wikitable w-100 mb-4"
<section class="cc-card">
|-
<h2 class="cc-card-heading">Motif Hierarchy</h2>
! colspan="1" | Motif hierarchy
<div class="cc-card-body cc-card-body--table">
|-
{{#ask:
|{{#ask:[[Category:Motif]]|format=tree|class=collapsible-tree|parent=Is Child Of|root={{#invoke:RootFinder|search|{{PAGENAME}}|Is Child Of}}}}
[[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>
 
    <!-- Right Column -->
</div>
    <div class="col-12 col-lg-9">
<div class="col-12 col-lg-9">
{| class="wikitable w-100 mb-4"
 
|-
<section class="cc-card">
! colspan="1" | Connected textual entities
<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}}]]
<div class="motif-filter">{{#ask:
|?=Inset Story
[[Category:Inset Story||Version||Secondary Version]][[Has Motif::{{PAGENAME}}]]
|?Is Entity Type=Entity Type|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none
|?=Inset Story
|mainlabel=-
|?Is Entity Type=Entity Type|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none
|?Has Motif=Motif|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none
|mainlabel=-
|format=filtered
|?Has Motif=Motif|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none
|headers=plain
|format=filtered
|views=table=Tabelle
|headers=plain
|default={{PAGENAME}} isn't a motif in any recorded stories
|views=table=Tabelle
|table view class=table table-hover sortable
|default={{PAGENAME}} isn't a motif in any recorded stories
|table view class=table table-hover sortable
}}</div>
}}</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|}}}}}
</div>
</includeonly>
</includeonly>

Latest revision as of 20:11, 25 February 2026