PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

Form:Community: Difference between revisions

From PC Gaming Shelter
Created page with "{{{info|add title=Add a Community Link|edit title=Edit Community Link}}} {{{for template|Community}}} <div style="max-width:600px; background:#fff; border:1px solid #ccc; padding:20px;"> <h3>Add Community / Discord</h3> <strong>Community Name:</strong><br> {{{field|Name|input type=text|size=50|placeholder=e.g. Stargate Alliance Discord}}} <br><br> <strong>Type:</strong><br> {{{field|Type|input type=dropdown|values=Discord, Forum, Reddit, Official Site, Fa..."
 
No edit summary
Tag: 2017 source edit
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{{info|add title=Add a Community Link|edit title=Edit Community Link}}}
<noinclude>
{{#forminput: form=Community
|button text=Create or Edit Community Entry
|autocomplete on category=Communities
|no autofocus
}}
{{DISPLAYTITLE: Add a New Community}}
</noinclude><includeonly>
{{{info|add title=Add a new Community Entry|edit title=Edit Community Entry}}}


{{{for template|Community}}}
{{{for template|Community}}}
<div style="max-width:600px; background:#fff; border:1px solid #ccc; padding:20px;">
{{form row
|{{{field
  |Image
  |input type=text
  |uploadable
  |image preview
  |class=form-control
}}}
|label=Cover Image:
|property=Image
}}
{{form row
|{{{field
  |Related game
  |input type=tokens
  |delimiter=,
  |values from category=Games
  |placeholder=e.g. Half-Life
  |class=form-control
}}}
|label=Game:
|property=Related game
}}
{{form row
|{{{field
  |Has status
  |input type=radiobutton
  |values=Active, Not Active
  |mandatory
  |default=Not Active
  |class=form-control
}}}
|label=Status:
|property=Has status
}}
{{form row
|{{{field
  |Has short description
  |input type=textarea
  |rows=3
  |class=form-control
}}}
|label=Note:
|property=Has short description
}}


  <h3>Add Community / Discord</h3>
== Links ==
 
{{{field|Community links|holds template}}}
  <strong>Community Name:</strong><br>
{{{end template}}}
  {{{field|Name|input type=text|size=50|placeholder=e.g. Stargate Alliance Discord}}}
{{{for template|Community link|multiple|embed in field=Community[Community links]|add button text=Add community link}}}
  <br><br>
{{Link fields|Community links}}
 
{{{end template}}}
  <strong>Type:</strong><br>
  {{{field|Type|input type=dropdown|values=Discord, Forum, Reddit, Official Site, Fan Site}}}
  <br><br>
 
  <strong>Related Game:</strong><br>
  {{{field|Related game|input type=text|autocomplete|values from category=Games|size=40}}}
  <br><br>
 
  <strong>Invite Link / URL:</strong><br>
  {{{field|URL|input type=text|size=60|placeholder=https://discord.gg/...}}}
  <br><br>
 
  <strong>Description:</strong><br>
  {{{field|Description|input type=textarea|rows=3}}}


</div>
{{{end template}}}


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

Latest revision as of 18:39, 25 March 2026