Difference between revisions of "Template:NorConDragonLogic"
From NorCon MUSH
| Line 21: | Line 21: | ||
|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}}}}} }} |
|-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 }} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{7}}} | | {{#ifeq: {{{egg|}}} | | | {{!}}'''Egg Name:''' {{!}}{{!}} {{{egg}}} }} | {{!}}'''Egg Name:''' {{!}}{{!}} {{{7}}} Egg }} | + | {{#ifeq: {{{7|}}} | | {{#ifeq: {{{egg|}}} | | | {{!}}'''Egg Name:''' {{!}}{{!}} {{{egg}}} }} | {{!}}'''Egg Name:''' {{!}}{{!}} {{{7}}} Egg }} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{8}}} | | {{#ifeq: {{{size|}}} | | | {{!}}'''Size:''' {{!}}{{!}} {{{size}}} feet }} | {{!}}'''Size:''' {{!}}{{!}} {{{8}}} feet}} | + | {{#ifeq: {{{8|}}} | | {{#ifeq: {{{size|}}} | | | {{!}}'''Size:''' {{!}}{{!}} {{{size}}} feet }} | {{!}}'''Size:''' {{!}}{{!}} {{{8}}} feet}} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{12}}} | | {{#ifeq: {{{dam| }}} | | | {{!}}'''Dam:''' {{!}}{{!}} [[Dam::Dragon:{{{dam}}}|{{{dam}}}]] }} | {{!}}'''Dam:''' {{!}}{{!}} {{#ask:[[Dragon-name::{{{12}}}]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} | + | {{#ifeq: {{{12|}}} | | {{#ifeq: {{{dam| }}} | | | {{!}}'''Dam:''' {{!}}{{!}} [[Dam::Dragon:{{{dam}}}|{{{dam}}}]] }} | {{!}}'''Dam:''' {{!}}{{!}} {{#ask:[[Dragon-name::{{{12}}}]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{13}}} | |{{#ifeq: {{{sire| }}} | | | {{!}}'''Sire:''' {{!}}{{!}} [[Sire::Dragon:{{{sire}}}|{{{sire}}}]] }} | {{!}}'''Sire:''' {{!}}{{!}} {{#ask:[[Dragon-name::{{{13}}}]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} | + | {{#ifeq: {{{13|}}} | |{{#ifeq: {{{sire| }}} | | | {{!}}'''Sire:''' {{!}}{{!}} [[Sire::Dragon:{{{sire}}}|{{{sire}}}]] }} | {{!}}'''Sire:''' {{!}}{{!}} {{#ask:[[Dragon-name::{{{13}}}]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} |
|-valign="top" | |-valign="top" | ||
{{!}}'''Lineage:''' {{!}}{{!}} [http://ncmush.net/index.php?title=Special:FamilyTree&Special:FamilyTree&page={{FULLPAGENAME}}&type=ancestors&gen=5&page2= Here] | {{!}}'''Lineage:''' {{!}}{{!}} [http://ncmush.net/index.php?title=Special:FamilyTree&Special:FamilyTree&page={{FULLPAGENAME}}&type=ancestors&gen=5&page2= Here] | ||
| Line 52: | Line 52: | ||
{{#ifeq: {{{clutch|}}} | | | {{{!}}class="table table-striped" style="background-color:#FFFFFF; float:center; text-align: left" cellpadding="3" cellspacing="0" width="100%" align="center" | {{#ifeq: {{{clutch|}}} | | | {{{!}}class="table table-striped" style="background-color:#FFFFFF; float:center; text-align: left" cellpadding="3" cellspacing="0" width="100%" align="center" | ||
{{!}}- | {{!}}- | ||
| − | !colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{ | + | !colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{15}}}|{{ {{{15}}} }}|{{#ifeq:{{{weyr|}}}| |<nowiki>#000000</nowiki>|{{{{{weyr}}}}}}}}}; border: {{#ifexist: Template:{{{15}}}2|{{{{{15}}}2 }}|{{#ifeq:{{{weyr|}}}| |<nowiki>#000000</nowiki>|{{{{{weyr}}}2}}}}}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"{{!}} '''{{#ifeq:{{{15}}}| | {{#ifeq:{{{weyr|}}} | | | {{{weyr}}} }} | {{#external_value:weyr}} }} Clutch {{{clutch}}} ''' |
{{!}}-valign="top" | {{!}}-valign="top" | ||
| − | {{!}}{{#ask:[[Clutch::{{#ifeq: {{ | + | {{!}}{{#ask:[[Clutch::{{#ifeq: {{{15}}}| | {{{weyr}}}|{{{15}}} }}Clutch:{{{clutch}}}]] [[Insta::Insta{{!}}{{!}}PC]] |
|?Dragon | |?Dragon | ||
|?Impressee= | |?Impressee= | ||
| Line 66: | Line 66: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
| − | {{!}}colspan=2 style="text-align:center; padding: 5px; font-size: larger; background-color:{{#ifexist: Template:{{ | + | {{!}}colspan=2 style="text-align:center; padding: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{15}}}|{{ {{{15}}} }}|{{#ifeq:{{{weyr|}}}| |<nowiki>#000000</nowiki>|{{{{{weyr}}}}}}}}}; border: {{#ifexist: Template:{{{15}}}2|{{ {{{15}}}2 }}|{{#ifeq:{{{weyr|}}}| |<nowiki>#000000</nowiki>|{{{{{weyr}}}2}}}}}} 2px solid; box-shadow: 0 1px 10px rgba(0,0,0,0.1); color:{{{fgcolor|#FFFFFF}}};" {{!}} |
{{!}}} }} | {{!}}} }} | ||
| − | {{#set:Color={{#ifeq:{{ | + | {{#set:Color={{#ifeq:{{{4}}}| |{{#ifeq:{{{color|}}}| | |{{{color}}}}}|{{{4}}}}}}} [[Page has default form::Dragon| ]] {{#ifeq: {{{insta| }}} | | {{#set:Insta=PC}}| }} {{#ifeq: {{{insta|}}} | NPC | {{#set:Insta=NPC}} | }} {{#ifeq: {{{insta|}}} | Yes | {{#set:Insta=Insta}} | }}{{#ifeq:{{{10}}} | | | {{#set:DragonHome={{{10}}} }} }} {{#set:Clutched={{#ifeq:{{{10}}}| |{{#ifeq:{{{weyr|}}}| | | {{{weyr}}} }}| {{{10}}}}}}} {{#set:Dragon={{#ifeq:{{{2}}}| |{{{name}}}|{{#ifeq:{{{3}}}| | |{{{3}}} }}{{{2}}}}}}} |
| − | {{#pagetitle:{{#ifeq:{{ | + | {{#pagetitle:{{#ifeq:{{{2}}}| |{{{name}}}|{{#ifeq:{{{3}}}| | |{{{3}}} }}{{{2}}}}}}} |
Revision as of 05:17, 16 December 2015
{{{1}}} {{{2}}} {{{3}}} {{{4}}} {{{5}}} {{{6}}} {{{7}}} {{{8}}} {{{9}}} {{{10}}} {{{11}}} {{{12}}} {{{13}}} {{{14}}} {{{15}}}
| {{{2}}} {{{3}}} | |
|---|---|
| Impressee | [[{{{6}}}]] |
| Lineage: | Here |
{{{16}}}
"{{{10}}}" cannot be used as a page name in this wiki.