Template:Motif: Difference between revisions

From The Seven Sages of Rome
No edit summary
Tag: Manual revert
No edit summary
Tag: Manual revert
 
(12 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 in the following stories ==
<div class="row">
{{#ask: [[Category:Inset Story]][[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
  |mainlabel=-
  |mainlabel=-
  |?Has Motif=Motif|+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
Line 14: Line 30:
  |class=table table-hover table-sm sortable
  |class=table table-hover table-sm sortable
}}
}}
== '''{{PAGENAME}}''' is a motif in the following versions ==
|}
{{#ask: [[Category:Version||Secondary Version]][[Has Motif::{{PAGENAME}}]]
    </div>
|?=Inset Story
</div>
|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 versions
|table view class=table table-hover sortable
|class=table table-hover table-sm sortable
}}
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{Has Note|}}}|}}
[[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