Template:Sage: Difference between revisions
From The Seven Sages of Rome
m Text replacement - "\|\s*format\s*=\s*datatable\b" to "|format=datatables" |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
<div class="col-lg-6"> | <div class="col-lg-6"> | ||
{{#if:{{#ask:[[Has subobject::<q>[[Has Narrator::{{PAGENAME}}]]</q>]][[Category:Manuscript]]}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">{{PAGENAME}} appears in the following manuscripts</h2> | <h2 class="cc-card-heading">{{PAGENAME}} appears in the following manuscripts</h2> | ||
| Line 17: | Line 18: | ||
|default=This sage appears in no manuscripts of the database | |default=This sage appears in no manuscripts of the database | ||
|format=datatables | |format=datatables | ||
}} | }} | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
{{#if:{{#ask:[[Has Narrator::{{PAGENAME}}]][[Has Name Variation::+]]}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">{{PAGENAME}} tells the following stories</h2> | <h2 class="cc-card-heading">{{PAGENAME}} tells the following stories</h2> | ||
<div class="cc-card-body cc-card-body--table"> | <div class="cc-card-body cc-card-body--table"> | ||
{{#ask: | {{#ask: | ||
[[Has Narrator::{{PAGENAME}} | [[Has Narrator::{{PAGENAME}}]] | ||
|?Has Short Title=Short title | |?Has Short Title=Short title | ||
|?Has Sequence Number=Sequence number | |?Has Sequence Number=Sequence number | ||
|default=There are currently no stories told by this sage in the database | |default=There are currently no stories told by this sage in the database | ||
|format=datatables | |format=datatables | ||
}} | }} | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
</div> | </div> | ||
<div class="col-lg-6"> | <div class="col-lg-6"> | ||
{{#if:{{#ask:[[Has Narrator::{{PAGENAME}}]][[Has Name Variation::+]]}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">{{PAGENAME}} has the following name variations</h2> | <h2 class="cc-card-heading">{{PAGENAME}} has the following name variations</h2> | ||
| Line 47: | Line 50: | ||
|default=There are currently no recorded name variations of this sage | |default=There are currently no recorded name variations of this sage | ||
|format=datatables | |format=datatables | ||
}} | }} | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
</div> | </div> | ||