Difference between revisions of "Template:Noble house"

From The Coppermind
Jump to navigation Jump to search
(Okay, I think I correctly added the universe parameter. Since this is specifically for Scadrian noble houses, I hard-coded it as cosmere, like the world parameter. I think.)
(rm featured in)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{infobox|title={{#if:{{{name|}}}|House {{{name}}}{{DEFAULTSORT:{{{name}}}|}}|{{PAGENAME}}|}}|id=Noble_house|
 
{{infobox|title={{#if:{{{name|}}}|House {{{name}}}{{DEFAULTSORT:{{{name}}}|}}|{{PAGENAME}}|}}|id=Noble_house|
   
<!-- -->{{row/kv| Type | [[:category: families|Family]] }}
+
<!-- -->
{{#if:{{{home|}}} |{{row/kv| Homeland | {{{home}}} }}|}}
+
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }}|}}<!--
<!-- -->{{row/kv| World | [[Scadrial]] }}
+
type -->{{row/kv| Type | [[:category: families|Family]] }}
{{#if:{{{era|}}} |{{row/kv| Era | {{{era}}} }}|}}
+
{{#if:{{{home|}}} |{{row/kv| Homeland | {{{home}}} }}|}}
<!-- -->{{row/kv| Universe | [[Cosmere]] }}
+
{{#if:{{{era|}}} |{{row/kv| Era | {{{era}}} }}|}}
<!-- -->{{row/kv| Books | {{{books}}} }}
+
{{#if:{{{'world|}}} |{{row/kv| World of Origin | {{{'world}}}{{raw/world}}<!-- -->}}|}}
  +
{{#if:{{{earth|}}} |{{row/kv| World of Origin | {{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
  +
{{#if:{{{world|}}} |{{row/kv| World of Origin | {{toponym link|{{{world}}}}}{{cat ns|{{demonym|{{{world}}}|}} culture|only=0}}<!-- -->}}|}}
  +
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
   
 
}}<includeonly><!--
 
}}<includeonly><!--
   
-->[[Category: Noble Houses]]<!--
+
-->{{cat ns|Noble Houses|only=0}}<!--
-->[[Category: families]]<!--
+
-->{{cat ns|families|only=0}}<!--
-->[[Category: Nobles]]<!--
+
-->{{cat ns|Culture|only=0}}<!--
-->[[Category: Culture]]<!--
+
-->{{#ifeq:{{{world|}}}|Scadrial|[[Category: Nobles]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
This infobox is used to list facts about a [[Noble]] house on [[Scadrial]].
+
This infobox is used to list facts about noble houses.
   
It automatically adds pages to [[:Category: Noble Houses]], [[:Category: families]], [[:Category: Nobles]], [[:Category: Culture]].
+
It automatically adds pages to [[:Category: Noble Houses]], [[:Category: families]], and [[:Category: Culture]]. It also adds all pages with <code>world=Scadrial</code> to [[:Category: Nobles]]
   
 
<pre class=mw-code>
 
<pre class=mw-code>
 
{{Noble house
 
{{Noble house
  +
|image=
 
|home=
 
|home=
 
|era=
 
|era=
  +
|world=/'world=/earth=
|books=
 
  +
|universe=
 
}}
 
}}
 
</pre>
 
</pre>
   
 
[[Category: Infoboxes]]
 
[[Category: Infoboxes]]
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 18:42, 15 March 2024

Noble house
Type Family

This infobox is used to list facts about noble houses.

It automatically adds pages to Category: Noble Houses, Category: families, and Category: Culture. It also adds all pages with world=Scadrial to Category: Nobles

{{Noble house
|image=
|home=
|era=
|world=/'world=/earth=
|universe=
}}

Articles using Template