Difference between revisions of "Template:Dragon"

From NorCon MUSH
 
(14 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
{{#ifeq: {{{egg}}} | | {{!}}'''Egg Name:''' {{!}}{{!}} {{{egg}}} }}
 
{{#ifeq: {{{egg}}} | | {{!}}'''Egg Name:''' {{!}}{{!}} {{{egg}}} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{size|}}} | | | {{!}}'''Size:''' {{!}}{{!}} {{{size}}} feet }}  
+
{{#ifeq: {{{size|}}} | | | {{!}}'''Size:''' {{!}}{{!}} {{{size}}} feet {{#set:Dragon-size={{{size}}}}}}}  
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{dam| }}} | | | {{!}}'''Dam:''' {{!}}{{!}} [[Dragon:{{{dam}}}]] {{#set:Dragon-dam={{{dam}}}}}}}
+
{{#ifeq: {{{dam| }}} | | | {{!}}'''Dam:''' {{!}}{{!}} {{#ifeq:{{#ask:[[Dragon-name::{{{dam}}}]] [[DragonData::+]]|?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}||[[Dragon:{{{dam}}}{{!}}{{{dam}}}]]|{{#ask:[[Dragon-name::{{{dam}}}]] [[DragonData::+]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} {{#set:Dam=Dragon:{{{dam}}}}}}}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{sire| }}} | | | {{!}}'''Sire:''' {{!}}{{!}} [[Dragon:{{{sire}}}]] {{#set:Dragon-sire={{{sire}}}}}}}
+
{{#ifeq: {{{sire| }}} | | | {{!}}'''Sire:''' {{!}}{{!}} {{#ifeq:{{#ask:[[Dragon-name::{{{sire}}}]] [[DragonData::+]]|?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}||[[Dragon:{{{sire}}}{{!}}{{{sire}}}]]|{{#ask:[[Dragon-name::{{{sire}}}]] [[DragonData::+]] |?Dragon-hname=|?Dragon-name=|template=Parents|format=Template}}}} {{#set:Sire=Dragon:{{{sire}}}}}}}
 
|-valign="top"
 
|-valign="top"
{{!}}'''Lineage:''' {{!}}{{!}} [http://ncmush.net/index.php?title=Special:FamilyTree&Special:FamilyTree&page={{FULLPAGENAMEE}}&type=ancestors&gen=5&page2= Here]
+
{{!}}'''Lineage:''' {{!}}{{!}} [http://norcon.louisebennett.name/index.php?title=Special:FamilyTree&Special:FamilyTree&page={{FULLPAGENAMEE}}&type=ancestors&gen=5&page2= Here]
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{clutch| }}} | | | {{!}}'''Clutch:''' {{!}}{{!}} [[Dragon-clutch::{{{clutch}}}]]}}
+
{{#ifeq: {{{clutch| }}} | | | {{!}}'''Clutch:''' {{!}}{{!}} [[Clutch:{{{clutch}}}]] {{#set:Dragon-clutch={{{clutch}}}}}}}
 
|-valign="top"
 
|-valign="top"
 
{{#ifeq: {{{egg credit| }}} | | | {{!}}'''Egg Credit:''' {{!}}{{!}} {{{egg credit}}} }}
 
{{#ifeq: {{{egg credit| }}} | | | {{!}}'''Egg Credit:''' {{!}}{{!}} {{{egg credit}}} }}
Line 25: Line 25:
 
{{#ifeq: {{{puppeteer| }}} | | | {{!}}'''Puppeteer:''' {{!}}{{!}} {{{puppeteer}}} }}
 
{{#ifeq: {{{puppeteer| }}} | | | {{!}}'''Puppeteer:''' {{!}}{{!}} {{{puppeteer}}} }}
 
|-
 
|-
!colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{weyr}}}|{{ {{{weyr}}} }} |<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{weyr}}}2|{{ {{{weyr}}}2 }} |<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000{{!}}
+
!colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{weyr}}}|{{ {{{weyr}}} }} |<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{weyr}}}2|{{ {{{weyr}}}2 }} |<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"|
{{!}}}
+
|}
 
{{{body|}}}
 
{{{body|}}}
  
  
  
{{#ifeq: {{{clutch|}}} | | | {|class="table table-striped" style="background-color:#FFFFFF; float:center;  text-align: left" cellpadding="3" cellspacing="0" width="100%" align="center"
+
{|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:{{{weyr}}}|{{ {{{weyr}}} }} |<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{weyr}}}2|{{ {{{weyr}}}2 }} |<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"| '''Clutch {{{clutch}}}'''
+
!colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{weyr}}}|{{ {{{weyr}}} }} |<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{weyr}}}2|{{ {{{weyr}}}2 }} |<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"| '''Clutch {{{clutch}}}'''
 
{{!}}-valign="top"
 
{{!}}-valign="top"
{{!}}{{#ask:[[Dragon-clutch::{{#ask:[[Dragon-name::{{BASEPAGENAME}}]] [[DragonData::+]] OR [[Dragon-rider2::{{BASEPAGENAME}}]] |?Dragon-clutch= |mainlabel=- |link=none}}]]
+
{{!}}{{#ask:[[Dragon-clutch::{{{clutch}}}]]
 
|?Dragon-name
 
|?Dragon-name
|?Dragon-rider2
+
|?Dragon-rider
 
|?Dragon-color
 
|?Dragon-color
 
|?Dragon-hname
 
|?Dragon-hname
Line 50: Line 50:
 
{{!}}-
 
{{!}}-
 
!colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{weyr}}}|{{ {{{weyr}}} }} |<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{weyr}}}2|{{ {{{weyr}}}2 }} |<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"{{!}}
 
!colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{weyr}}}|{{ {{{weyr}}} }} |<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{weyr}}}2|{{ {{{weyr}}}2 }} |<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"{{!}}
{{!}}} }}
+
{{!}}}
{{#set:Dragon-color={{{color}}}}} {{#ifeq: {{{insta| }}} | | {{#set:Insta=PC}}| }}  {{#ifeq: {{{insta|}}} | NPC | {{#set:Insta=NPC}} | }} {{#ifeq: {{{insta|}}} | Yes | {{#set:Insta=Insta}} | }} {{#ifeq: {{{hname|}}} | | | {{#set:Dragon-hname={{{hname}}}}} }} {{#pagetitle:{{{name}}}}}
+
{{#set:Dragon-color={{{color}}}}} {{#ifeq: {{{insta| }}} | | {{#set:Insta=PC}}| }}  {{#ifeq: {{{insta|}}} | NPC | {{#set:Insta=NPC}} | }} {{#ifeq: {{{insta|}}} | Yes | {{#set:Insta=Insta}} | }} {{#ifeq: {{{hname|}}} | | | {{#set:Dragon-hname={{{hname}}}}} }} {{#set:Dragon-name={{BASEPAGENAME}}}} {{#pagetitle:{{{name}}}}} {{#default_form:Dragon2}}

Latest revision as of 12:48, 6 March 2021

{{{name}}}
Impressee {{{impressee}}}
Hatching Date: Some time in history
Lineage: Here



Clutch {{{clutch}}}