Difference between revisions of "Template:NorConDragonLogic"

From NorCon MUSH
Line 11: Line 11:
 
{{#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|}}} | | | {{!}}'''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|}}} | | | {{!}}'''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|}}} | | | {{!}}'''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]
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{clutch| }}} | | | {{!}}'''Clutch:''' {{!}}{{!}} [[Clutch::{{#ifeq:{{{weyr|}}} | | {{{15}}}| | | {{{15}}}Clutch:{{{clutch}}}|Clutch {{{clutch}}}}} |{{{15}}}Clutch:{{{clutch}}}}}]]}}
 
|-valign="top"
 
{{#ifeq: {{{egg credit| }}} | | | {{!}}'''Egg Credit:''' {{!}}{{!}} {{{egg credit}}} }}
 
|-valign="top"
 
{{#ifeq: {{{dragon credit| }}} | | | {{!}}'''Dragon Credit:''' {{!}}{{!}} {{{dragon credit}}} }}
 
|-valign="top"
 
{{#ifeq: {{{puppeteer| }}} | | | {{!}}'''Puppeteer:''' {{!}}{{!}} {{{puppeteer}}} }}
 
|-
 
!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;" {{!}}
 
{{!}}}
 
{{#ifeq: {{{16}}} | | |{{{16}}}<br><br> }}
 
{{{body|}}}
 
 
 
 
{{#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:{{{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"
 
{{!}}{{#ask:[[Clutch::{{#ifeq: {{{15}}}| | {{{weyr}}}|{{{15}}} }}Clutch:{{{clutch}}}]] [[Insta::Insta{{!}}{{!}}PC]]
 
|?Dragon
 
|?Impressee=
 
|format=ul
 
|link=none
 
|template=DragonNames
 
|headers=show
 
|searchlabel=... further results
 
|class=sortable wikitable smwtable
 
|columns=2
 
}}
 
{{!}}-
 
{{!}}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:{{{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}}}&nbsp;}}{{{2}}}}}}}
 
{{#pagetitle:{{#ifeq:{{{2}}}| |{{{name}}}|{{#ifeq:{{{3}}}| | |{{{3}}}&nbsp;}}{{{2}}}}}}}
 

Revision as of 05:40, 16 December 2015

{{{2}}} {{{3}}}
Impressee [[{{{6}}}]]
Lineage: Here