Difference between revisions of "Template:NorConDragonLogic"
From NorCon MUSH
| (46 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#ifeq:{{ | + | <includeonly>{{#set:Dragon={{#ifeq:{{{3}}}||{{{4}}} {{{2}}}|{{{3}}} {{{2}}}}}}} {{#ifeq:{{{9}}}| | |{{#set:Clutch=Clutch:{{{9}}}}}}} {{#ifeq:{{{15}}}||{{#set:Clutched={{{10}}}}}|{{#set:Clutched={{{15}}}}}}} |
| − | {{#set: | + | |
{|class="table table-striped" style="background-color: #FFFFFF !important; float:right; width:280px; margin:0 0 1em 1em; text-align:left;" cellpadding=5px | {|class="table table-striped" style="background-color: #FFFFFF !important; float:right; width:280px; margin:0 0 1em 1em; text-align:left;" cellpadding=5px | ||
|- | |- | ||
| − | !colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{Template:{{{15}}}}}; border:{{Template:{{{15}}}2}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"| '''{{{3}}} {{{2}}}''' | + | !colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{15}}}|{{ {{{15}}} }}|{{#ifexist: Template:{{{10}}}|{{ {{ {{{10}}} }} }}|<nowiki>#000000</nowiki>}}}}; border:{{#ifexist: Template:{{{15}}}2|{{ {{{15}}}2 }}|<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"| '''{{{3}}} {{{2}}}''' |
|-valign="top" | |-valign="top" | ||
| − | |style="width:100px;" | '''Impressee''' {{!}}{{!}} [[{{{6}}}]] | + | |style="width:100px;" | '''Impressee''' {{!}}{{!}} [[{{{6}}}]] |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{14|}}} | | | {{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F, Y | @{{{14}}}}} }} | + | {{#ifeq: {{{14|}}} | | | {{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F, Y | @{{{14}}}}} <br>{{#ifeq: {{{14}}}|||{{ICDate |secs={{{14}}}}}}} }} |
|-valign="top" | |-valign="top" | ||
{{#ifeq: {{{11|}}} | | | {{!}}'''Current Age:''' {{!}}{{!}} {{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{11}}}}}/31536000}}*3}}}} turns }} | {{#ifeq: {{{11|}}} | | | {{!}}'''Current Age:''' {{!}}{{!}} {{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{11}}}}}/31536000}}*3}}}} turns }} | ||
| Line 15: | Line 14: | ||
{{#ifeq: {{{8|}}} | | | {{!}}'''Size:''' {{!}}{{!}} {{{8}}} feet}} | {{#ifeq: {{{8|}}} | | | {{!}}'''Size:''' {{!}}{{!}} {{{8}}} feet}} | ||
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{12 | + | {{#ifeq: {{{12}}} | | | {{!}}'''Dam:''' {{!}}{{!}} {{#ifeq:{{#ask:[[Dragon-name::{{{12}}}]] [[DragonData::+]]|?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}||[[Dragon:{{{12}}}{{!}}{{{12}}}]]|{{#ask:[[Dragon-name::{{{12}}}]] [[DragonData::+]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} {{#set:Dam=Dragon:{{{12}}}}}}} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{13 | + | {{#ifeq: {{{13}}} | | | {{!}}'''Sire:''' {{!}}{{!}} {{#ifeq:{{#ask:[[Dragon-name::{{{13}}}]] [[DragonData::+]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}||[[Dragon:{{{13}}}{{!}}{{{13}}}]]|{{#ask:[[Dragon-name::{{{13}}}]] [[DragonData::+]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} {{#set:Sire=Dragon:{{{13}}}}}}} |
|-valign="top" | |-valign="top" | ||
| − | {{!}}'''Lineage:''' {{!}}{{!}} [http:// | + | {{!}}'''Lineage:''' {{!}}{{!}} [http://norcon.louisebennett.name/index.php?title=Special:FamilyTree&Special:FamilyTree&page={{FULLPAGENAME}}&type=ancestors&gen=5&page2= Here] |
|-valign="top" | |-valign="top" | ||
| + | {{#ifeq: {{{9}}} | | | {{!}}'''Clutch:''' {{!}}{{!}} [[Clutch:{{{9}}}]] }} | ||
| + | |-valign="top"</includeonly> | ||
| + | <noinclude>Nothing to see here!</noinclude> | ||
Latest revision as of 12:51, 6 March 2021
Nothing to see here!