Template:Registration
From Huben's Wiki
Line 10: | Line 10: | ||
{{Cross|f={{{f|}}}|m={{{m|}}}|a={{{a|}}}}} | {{Cross|f={{{f|}}}|m={{{m|}}}|a={{{a|}}}}} | ||
{{#if: {{{s|}}} | <br>Seedling Code: {{{s}}} }} | {{#if: {{{s|}}} | <br>Seedling Code: {{{s}}} }} | ||
+ | {{#if: {{{p|}}} | <br>Price: {{{p}}} }} | ||
{{#if: {{{d|}}} | | {{#if: {{{d|}}} | | ||
== Description == | == Description == | ||
Line 21: | Line 22: | ||
</includeonly> | </includeonly> | ||
<noinclude>== Usage == | <noinclude>== Usage == | ||
− | <code><nowiki>{{Registration|h=Hybridizer|y=Year|f=PodParent|m=PollenParent|i=Information|s=SeedlingCode|d=Description}} | + | <code><nowiki>{{Registration|h=Hybridizer|y=Year|f=PodParent|m=PollenParent|i=Information|s=SeedlingCode|p=Price|b=Blurb|d=Description}}</nowiki></code> |
− | Registration is a template with up to | + | Registration is a template with up to nine arguments. It is required for any daylily page. |
− | If m or f is omitted, "sdlg" is used. If y is omitted, "nr" is used. If h is omitted, "Unknown" is used. i, s and d may be omitted. | + | If m or f is omitted, "sdlg" is used. If y is omitted, "nr" is used. If h is omitted, "Unknown" is used. i, s, p, b and d may be omitted. |
It puts the daylily into the proper categories, and provides Ancestry and Descendent headings. | It puts the daylily into the proper categories, and provides Ancestry and Descendent headings. | ||
Line 31: | Line 32: | ||
It makes use of [[:Template:Ancestors]] and [[:Template:Descendents]]. They in turn use other templates. Also, [[:Template:Cross]]. | It makes use of [[:Template:Ancestors]] and [[:Template:Descendents]]. They in turn use other templates. Also, [[:Template:Cross]]. | ||
− | <code><nowiki>{{Registration|f=|m=|h=Huben|y=|i=|s=|d= | + | <code><nowiki>{{Registration|f=|m=|h=Huben|y=|i=|s=|p=|b=|d= |
Fill in description here! | Fill in description here! | ||
}}</nowiki></code> | }}</nowiki></code> | ||
</noinclude> | </noinclude> |