Difference between revisions of "Template:NorConDragonLogic"

From NorCon MUSH
 
(100 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{{1}}}
+
<includeonly>{{#set:Dragon={{#ifeq:{{{3}}}||{{{4}}} {{{2}}}|{{{3}}} {{{2}}}}}}} {{#ifeq:{{{9}}}| | |{{#set:Clutch=Clutch:{{{9}}}}}}} {{#ifeq:{{{15}}}||{{#set:Clutched={{{10}}}}}|{{#set:Clutched={{{15}}}}}}}  
{{{2}}}
+
{|class="table table-striped" style="background-color: #FFFFFF !important; float:right; width:280px; margin:0 0 1em 1em; text-align:left;" cellpadding=5px
{{{3}}}
+
|-
{{{4}}}
+
!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}}}'''
{{{5}}}
+
|-valign="top"
{{{6}}}
+
|style="width:100px;" | '''Impressee''' {{!}}{{!}} [[{{{6}}}]]
{{{7}}}
+
|-valign="top"
{{{8}}}
+
{{#ifeq: {{{14|}}} | | | {{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F, Y | @{{{14}}}}} <br>{{#ifeq: {{{14}}}|||{{ICDate |secs={{{14}}}}}}} }}
{{{9}}}
+
|-valign="top"
{{{10}}}
+
{{#ifeq: {{{11|}}} | | | {{!}}'''Current Age:''' {{!}}{{!}} {{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{11}}}}}/31536000}}*3}}}} turns }}
{{{11}}}
+
|-valign="top"
{{{12}}}
+
{{#ifeq: {{{7|}}} | | {{#ifeq: {{{egg|}}} | | | {{!}}'''Egg Name:''' {{!}}{{!}} {{{egg}}} }} | {{!}}'''Egg Name:''' {{!}}{{!}} {{{7}}} Egg }}
{{{13}}}
+
|-valign="top"
{{{14}}}
+
{{#ifeq: {{{8|}}} | | | {{!}}'''Size:''' {{!}}{{!}} {{{8}}} feet}}
{{{15}}}
+
|-valign="top"
{{{16}}}
+
{{#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}}}}}}}
{{{17}}}
+
|-valign="top"
{{{18}}}
+
{{#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}}}}}}}
{{{19}}}
+
|-valign="top"
 +
{{!}}'''Lineage:''' {{!}}{{!}} [http://norcon.louisebennett.name/index.php?title=Special:FamilyTree&Special:FamilyTree&page={{FULLPAGENAME}}&amp;type=ancestors&amp;gen=5&amp;page2= Here]
 +
|-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!