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>{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Motifs|CategoryName=Motif|PAGENAME={{PAGENAME}}}}{{#if:{{{Has Description|}}}|{{{Has Description|}}}|}}
{{#if:{{{Is Child Of|}}}|{{#ask:[[Category:Motif]]|format=tree|parent=Is Child Of|root={{{Is Child Of|}}}}}|}}
<div class="noexcerpt">
<div class="noexcerpt">
{{#ask: [[Category:Inset Story||Version||Secondary Version]][[Has Motif::{{PAGENAME}}]]
{| class="wikitable w-100 mb-4"
|-
! colspan="1" | Connected textual entities
|-
|{{#ask: [[Category:Inset Story||Version||Secondary Version]][[Has Motif::{{PAGENAME}}]]
  |?=Inset Story
  |?=Inset Story
  |?Is Entity Type=Entity Type|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none
  |?Is Entity Type=Entity Type|+filter=value|+value filter collapsible=uncollapsed|+value filter switches=and or, disable, select all, select none
Line 14: Line 17:
  |class=table table-hover table-sm sortable
  |class=table table-hover table-sm sortable
}}
}}
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{Has Note|}}}|}}
|}
<div class="row">
    <!-- Left Column -->
    <div class="col-md-3">
{| class="wikitable w-100 mb-4"
|-
! colspan="1" | Motif hierarchy
|-
|{{#ask:[[Category:Motif]]|format=tree|parent=Is Child Of|root={{#invoke:RootFinder|search|{{PAGENAME}}|Is Child Of}}}}
|}
    </div>
    <!-- Right Column -->
    <div class="col-md-9">
{| class="wikitable w-100 mb-4"
|-
! colspan="1" | Note
|-
|{{{Has Note|}}}
|}
    </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>
</div>
</includeonly>
</includeonly>

Revision as of 13:31, 26 March 2025