Template:Motif: Difference between revisions

From The Seven Sages of Rome
No edit summary
Tag: Reverted
No edit summary
 
(18 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">
== '''{{PAGENAME}}''' is a motif in the following stories ==
<div class="cc-page">
{{#ask: [[Category:Inset Story]][[Has Motif::{{PAGENAME}}]]
<div class="row">
|?=Inset Story
<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:
|list view template=MotifTableValues
[[Category:Motif]]
|default={{PAGENAME}} isn't a motif in any recorded stories
|format=tree
|table view class=table table-hover sortable
|class=collapsible-tree
|class=table table-hover table-sm sortable
|parent=Is Child Of
|root={{#invoke:RootFinder|search|{{PAGENAME}}|Is Child Of}}
}}
}}
== '''{{PAGENAME}}''' is a motif in the following versions ==
</div>
{{#ask: [[Category:Version||Secondary Version]][[Has Motif::{{PAGENAME}}]]
</section>
|?=Inset Story
 
|mainlabel=-
{{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}}
|?Has Motif=Motif|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none
 
|format=filtered
</div>
|headers=plain
<div class="col-12 col-lg-9">
|views=table=Tabelle
 
|default={{PAGENAME}} isn't a motif in any recorded versions
<section class="cc-card">
|table view class=table table-hover sortable
<h2 class="cc-card-heading">Connected Textual Entities</h2>
|class=table table-hover table-sm sortable
<div class="cc-card-body cc-card-body--table">
}}
<div class="motif-filter">{{#ask:
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{Has Note|}}}|}}
[[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