Form:Game: Difference between revisions

From Forklift Certified Video Games
Jump to navigation Jump to search
 
(48 intermediate revisions by the same user not shown)
Line 93: Line 93:
| Label: {{{field|label3}}}  
| Label: {{{field|label3}}}  
Data:  {{{field|data3}}}
Data:  {{{field|data3}}}
{{{field|creator|hidden|id=permanent-creator}}}
{{{end template}}}
{{{end template}}}
|}
|}{{{for template|Content Game}}}
 
{{{for template|Content Game}}}
{| class="formtable game-form-table"
{| class="formtable game-form-table"
|-
|-
Line 114: Line 113:
<div style="font-size: 90%;">''Provide information about forklifts found within the game.''</div>
<div style="font-size: 90%;">''Provide information about forklifts found within the game.''</div>
{{{end template}}}
{{{end template}}}
|}
|}{{{for template|Gallery Game}}}
 
<div class="pf-collapsible-wrapper">
{{{for template|Gallery Game|multiple|maximum instances=5|add button text=Add another gallery image|embed in field=Content Game[images_from_form}}}
<div class="pf-collapsible" data-target="gallery-section">
Gallery images ▸
</div>
</div>
<div id="gallery-section" class="pf-collapsible-content">
{| class="formtable game-form-table"
{| class="formtable game-form-table"
|-
|-
! colspan="2" style="text-align: left; border-bottom: 2px solid #8e8e8e; padding-top: 20px;" |
! colspan="2" |
<h2 style="margin:0; border:none;">Gallery image</h2>
|-
! Gallery image 1:
| {{{field|gallery_image1
  |input type=combobox
  |uploadable
  |values from namespace=File
  |remote autocompletion
  |image preview
  |size=60
}}}
Caption:<br>
{{{field|gallery_caption1|input type=text|size=50}}}
|-
! Gallery image 2:
| {{{field|gallery_image2
  |input type=combobox
  |uploadable
  |values from namespace=File
  |remote autocompletion
  |image preview
  |size=60
}}}
Caption:<br>
{{{field|gallery_caption2|input type=text|size=50}}}
|-
! Gallery image 3:
| {{{field|gallery_image3
  |input type=combobox
  |uploadable
  |values from namespace=File
  |remote autocompletion
  |image preview
  |size=60
}}}
Caption:<br>
{{{field|gallery_caption3|input type=text|size=50}}}
|-
|-
! Image:
! Gallery image 4:
| {{{field|gallery_image
| {{{field|gallery_image4
   |input type=text with autocomplete
   |input type=combobox
   |uploadable
   |uploadable
   |values from namespace=File
   |values from namespace=File
  |remote autocompletion
   |image preview
   |image preview
   |size=50
   |size=60
}}}
}}}
Caption:<br>
{{{field|gallery_caption4|input type=text|size=50}}}
|-
|-
! Caption:
! Gallery image 5:
| {{{field|gallery_caption|input type=text|size=50}}}
| {{{field|gallery_image5
  |input type=combobox
  |uploadable
  |values from namespace=File
  |remote autocompletion
  |image preview
  |size=60
}}}
Caption:<br>
{{{field|gallery_caption5|input type=text|size=50}}}
|}
|}
<!-- Hidden fields to preserve old numbered gallery data -->
</div>
{{{field|gallery_image1|hidden}}}
{{{end template}}}{{{for template|Footer Game}}}
{{{field|gallery_caption1|hidden}}}
{{{field|gallery_image2|hidden}}}
{{{field|gallery_caption2|hidden}}}
{{{field|gallery_image3|hidden}}}
{{{field|gallery_caption3|hidden}}}
 
<!-- The injection point for new multiple images -->
{{{field|new_gallery_list|holds template|hidden}}}
{{{end template}}}
 
{{{for template|Footer Game}}}
{| class="formtable game-form-table"
{| class="formtable game-form-table"
|-
|-
Line 158: Line 197:
|}
|}
{{{end template}}}
{{{end template}}}
{{{standard input|save}}}
{{{standard input|save}}}
{{{standard input|preview}}}
{{{standard input|preview}}}
{{{standard input|cancel}}}
{{{standard input|cancel}}}
</includeonly>
</includeonly>

Latest revision as of 00:42, 29 April 2026

Enter a game name to create or edit a page: