Template:InspirationBox: Difference between revisions

Template page
(Created page with "<div class="inspiration-box"> <div class="inspiration-title">Names and inspiration</div> <table> {{#if:{{{inspiration|}}}|<tr> <th>Inspiration</th> <td>{{{inspiration}}}</td> </tr>}} {{#if:{{{place_names|}}}|<tr> <th>Place names</th> <td>{{{place_names}}}</td> </tr>}} {{#if:{{{character_names|}}}|<tr> <th>Character names</th> <td>{{{character_names}}}</td> </tr>}} </table> </div>")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="inspiration-box">
{{Navbox
<div class="inspiration-title">Names and inspiration</div>
| title = Names and inspiration
 
| listclass = hlist
<table>
| bodyclass = hlist
{{#if:{{{inspiration|}}}|<tr>
| group1 = Inspiration
    <th>Inspiration</th>
| list1  = {{#if:{{{inspiration|}}}|* {{{inspiration}}}}}
    <td>{{{inspiration}}}</td>
| group2 = Place names
</tr>}}
| list2  = {{#if:{{{place_names|}}}|* {{{place_names}}}}}
 
| group3 = Character names
{{#if:{{{place_names|}}}|<tr>
| list3  = {{#if:{{{character_names|}}}|* {{{character_names}}}}}
    <th>Place names</th>
}}
    <td>{{{place_names}}}</td>
</tr>}}
 
{{#if:{{{character_names|}}}|<tr>
    <th>Character names</th>
    <td>{{{character_names}}}</td>
</tr>}}
 
</table>
</div>

Latest revision as of 00:27, 28 September 2022