Difference between revisions of "Template:Wyrm"
From Cruinndrac Farms
(Created page with "Thumbnail (small image of the wyrm) DataImage (Image of the wyrm and it's data card) Breed Species Rarity Variety Handler Generation Group Sire Dam Genetics Features Breedings...") |
|||
| (85 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | Thumbnail | + | <noinclude> |
| − | DataImage | + | This is the "Wyrm" template. |
| − | Breed | + | It should be called in the following format: |
| − | Species | + | <pre> |
| − | Rarity | + | {{Character Infobox |
| − | Variety | + | | Thumbnail=Small image of the wyrm --> File.ext |
| − | Handler | + | | DataImage=Image of the wyrm and it's data card --> File.ext |
| − | Generation | + | | Gender= |
| − | Group | + | | Breed= |
| − | Sire | + | | Species= |
| − | Dam | + | | Rarity= |
| − | Genetics | + | | Variety= |
| − | Features | + | | Handler= |
| − | + | | Generation= | |
| + | | Group= | ||
| + | | Sire= | ||
| + | | Dam= | ||
| + | | Genetics= | ||
| + | | Features=Feature,Feature2,Feature3 | ||
| + | | Breedings=(Breedings Available) | ||
| + | | BreedingsMax=(Maximum Breedings) | ||
| + | | Clan= | ||
| + | }} | ||
| + | </pre> | ||
| + | Edit the page to see the template text. | ||
| + | </noinclude> | ||
| + | <includeonly> | ||
| + | [[File:{{{Thumbnail}}}|left|100px]]{{#set:Thumbnail={{{Thumbnail}}}}} | ||
| + | <div style="float: right; text-align: text-top; vertical-align: text-top;">{{#if:{{{DataImage|}}}|[[File:{{{DataImage}}}|top|300px]]}} {{#if:{{{DataCard|}}}|[[File:{{{DataCard}}}|top|300px]]}}</div> | ||
| + | '''Gender''': {{#set:gender={{{Gender}}}}}{{{Gender|None}}} <br /> | ||
| + | '''Type''': {{#set:breed={{{Breed}}}}}{{{Breed|None}}} <br /> | ||
| + | '''Species''': {{#set:species={{{Species}}}}}{{{Species|None}}} <br /> | ||
| + | '''Rarity''': {{#set:rarity={{{Rarity}}}}}{{{Rarity|None}}} <br /> | ||
| + | '''Variety''': {{#set:variety={{{Variety}}}}}{{{Variety|None}}} <br /> | ||
| + | {{#if:{{{Clan|}}}|'''Clan''': {{#set:clan={{{Clan}}}}}{{{Clan|None}}}<br />}} | ||
| + | '''Handler''': {{#set:handler={{{Handler}}}}}[[{{{Handler|None}}}]] {{#if:{{#ask: [[{{{Handler}}}]] | ?handlerinfo= | mainlabel=-|format=list}}|({{#ask: [[{{{Handler}}}]] | ?handlerinfo= | mainlabel=-|format=list}})|}} <br /> | ||
| + | '''Group''': {{#set:group={{{Group}}}}}{{{Group|None}}} | ||
| + | ---- | ||
| + | '''Generation''': G{{#set:generation={{{Generation}}}}}{{{Generation|None}}} <br /> | ||
| + | '''Sire''': {{#set:dam={{{Sire|None}}}}}{{#ifexist:{{{Sire|None}}}|[[{{{Sire}}}]]| {{#ifeq:{{#explode:{{{Sire|None}}}|:|0}}|dragonwiki|[[{{{Sire}}}|{{#explode:{{{Sire|None}}}|:|1}}]]|{{{Sire|None}}} }} }} <br /> | ||
| + | '''Dam''': {{#set:dam={{{Dam|None}}}}}{{#ifexist:{{{Dam|None}}}|[[{{{Dam}}}]]| {{#ifeq:{{#explode:{{{Dam|None}}}|:|0}}|dragonwiki|[[{{{Dam}}}|{{#explode:{{{Dam|None}}}|:|1}}]]|{{{Dam|None}}} }} }} <br /> | ||
| + | <br /> | ||
| + | '''Genetics''': {{#set:genetics={{{Genetics}}}}}{{{Genetics|None}}} <br /> | ||
| + | '''Features''': <br /> | ||
| + | {{#arraymap:{{{Features|}}}|,|x|[[feature::x]]|<br />}} <br /> | ||
| + | <br /> | ||
| + | '''Breedings''': {{#set:breedings={{{Breedings}}}}}{{#set:BreedingsMax={{{BreedingsMax}}}}}{{#switch:{{{Breedings}}}|0=NONE|{{{Breedings}}}}}<br /> | ||
| + | '''Offspring''': {{#ask: [[Category:Wyrms]] [[Sire::{{PAGENAME}}]] OR [[Dam::{{PAGENAME}}]] }} | ||
| + | {{#set:Sculptor={{{Sculptor}}}}} | ||
| + | [[Category:Wyrms]] | ||
| + | </includeonly> | ||
Latest revision as of 10:08, 21 November 2018
This is the "Wyrm" template. It should be called in the following format:
{{Character Infobox
| Thumbnail=Small image of the wyrm --> File.ext
| DataImage=Image of the wyrm and it's data card --> File.ext
| Gender=
| Breed=
| Species=
| Rarity=
| Variety=
| Handler=
| Generation=
| Group=
| Sire=
| Dam=
| Genetics=
| Features=Feature,Feature2,Feature3
| Breedings=(Breedings Available)
| BreedingsMax=(Maximum Breedings)
| Clan=
}}
Edit the page to see the template text.