Template:Motif: Difference between revisions

From The Seven Sages of Rome
No edit summary
No edit summary
Tag: Manual revert
 
(11 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>{{#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">
== '''{{PAGENAME}}''' is a motif of the following entities ==
<div class="row">
{{#ask: [[Category:Inset Story||Version||Secondary Version]][[Has Motif::{{PAGENAME}}]]
    <!-- Left Column -->
    <div class="col-xl-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}}}}
|}
{{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}}
    </div>
    <!-- Right Column -->
    <div class="col-xl-9">
{| 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 15: Line 30:
  |class=table table-hover table-sm sortable
  |class=table table-hover table-sm sortable
}}
}}
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{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>

Latest revision as of 13:56, 26 March 2025