Form:CreateArticle: Difference between revisions

From Legendary Hardcore Wiki
Jump to navigation Jump to search
Created page with "{{{info|add title=Create New Entry}}} <includeonly> '''Page Name:''' {{{standard input|item=name}}} '''Select Category:''' {{{field|Category|input type=dropdown|values=Player, Group, Event, Location, Culture|mandatory}}} {{{for template|PlayerInfobox|closed}}} {{{field|Category|hidden|default=Player}}} {{{end template}}} {{{for template|GroupInfobox|closed}}} {{{field|Category|hidden|default=Group}}} {{{end template}}} {{{for template|EventInfobox|closed}}} {{{fiel..."
 
No edit summary
Line 1: Line 1:
{{{info|add title=Create New Entry}}}
<noinclude>
{{#forminput:
  form=CreateArticle
  button text=Create article
}}
</noinclude>


<includeonly>
<includeonly>
'''Page Name:'''
{{{for template|CreateArticleContainer}}}
{{{standard input|item=name}}}


'''Select Category:'''
'''Article:''' {{{field|PageName|mandatory|hidden}}}
{{{field|Category|input type=dropdown|values=Player, Group, Event, Location, Culture|mandatory}}}


{{{for template|PlayerInfobox|closed}}}
'''Category''':
{{{field|Category|hidden|default=Player}}}
{{{field|cat
{{{end template}}}
|input type=dropdown
 
|values=Player,Group,Event,Location,Culture
{{{for template|GroupInfobox|closed}}}
|mandatory
{{{field|Category|hidden|default=Group}}}
}}}
{{{end template}}}
 
{{{for template|EventInfobox|closed}}}
{{{field|Category|hidden|default=Event}}}
{{{end template}}}


{{{for template|LocationInfobox|closed}}}
{{{field|Category|hidden|default=Location}}}
{{{end template}}}
{{{end template}}}


{{{for template|CultureInfobox|closed}}}
== Infobox ==
{{{field|Category|hidden|default=Culture}}}
{{#switch: {{{cat|}}}
{{{end template}}}
| Player = {{Template:PlayerInfobox}}
| Group = {{Template:GroupInfobox}}
| Event = {{Template:EventInfobox}}
| Location = {{Template:LocationInfobox}}
| Culture = {{Template:CultureInfobox}}
}}


{{{standard input|save}}}
</includeonly>
</includeonly>

Revision as of 10:49, 7 January 2026