Template:GamePortalPages: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
 
(54 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{GamePortalPages}}</noinclude><includeonly>__NOTOC__ __NOTITLE__[[Category:Game Portal Pages]]<div class="pageHeader">{{NAMESPACE}} Portal<div class="pageSubHeader"><div class="pageSubHeaderPortal">[[{{NAMESPACE}}:Wiki|Home]]</div><span style="width:150px;">Guide Version: {{#ifexist: {{NAMESPACE}}:ModList/{{#show: STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} | [[{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}|{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}]] ([[{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease# }}/changelog|{{Fs|0.85em|Changelog}}]])</span> | N/A }} &nbsp;&nbsp;|&nbsp;&nbsp;  <span style="width:150px;">Guide Mods: {{#ifexist: {{NAMESPACE}}:ModList/{{#show: STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} | [[Concept:Current {{NAMESPACE}} Mods|{{#ask:[[Concept:Current {{NAMESPACE}} Mods]]|format=count}}]]</span> | N/A }} &nbsp;&nbsp;|&nbsp;&nbsp; <span style="width:150px;">Total Mods: {{#ifexist: {{NAMESPACE}}:ModList/{{#show: STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} | [[:Category:{{NAMESPACE}} Mods|{{#ask:[[Category:{{NAMESPACE}} Mods]]|format=count}}]]</span> | N/A }}
<includeonly>__NOTOC__ __NOTITLE__[[Category:Game Portal Pages]]
</div>
<div class="pageHeader"><strong>{{NAMESPACE}} Portal</strong><div class="container-fluid"><div class="row"><div class="col px-0"><div class="pageSubHeaderPortal py-1 pl-3">[[{{NAMESPACE}}:Wiki|'''{{NAMESPACE}} HOME''']]</div><div class="col px-0"><div class="pageSubHeader py-1">{{Fc|salmon|v}}{{#ifexist: {{NAMESPACE}}:ModList/{{#show: STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} | [[{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}|{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}]] | N/A }} &nbsp;&nbsp;|&nbsp;&nbsp; v{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}} Mods: {{#ifexist: {{NAMESPACE}}:ModList/{{#show: STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} | [[Concept:Current {{NAMESPACE}} Mods|{{#ask:[[Concept:Current {{NAMESPACE}} Mods]]|format=count}}]] | N/A }} &nbsp;&nbsp;|&nbsp;&nbsp; {{NAMESPACE}} Mods: {{#ifexist: {{NAMESPACE}}:ModList/{{#show: STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} | [[:Category:{{NAMESPACE}} Mods|{{#ask:[[Category:{{NAMESPACE}} Mods]]|format=count}}]] | N/A }}
</div>
</div></div></div></div></div></div>
<h4 class="secHeading">GUIDE MAINTENANCE</h4>
<div class="container-fluid mt-3">
==Create Mods==
<div class="row gamehometable">
Mod pages are required in order to add them to {{NAMESPACE}} Guides. Some mods also require specific instructions. Many mod pages already exist, but new mods will need to be added as modding for the game evolves.  
<div class="col mx-n3" style="max-width:max-content" >
 
<h4 class="gamehometablecolumnheading py-1">GUIDE MAINTENANCE</h4>
{{Fc|instruction|{{Fs|0.85em|Begin typing the mod name into the field below. If the mod page exists, you will be taken to the existing mod page for edit; otherwise, you will be taken to a blank form to create the page.}} }}
<p class="text-center">{{Fs|1.1em|Review Step's [[STEP:Mod-Build_Guide_Framework|mod-build guide framework]] for more information about creating and maintaining an official or unofficial guide on this website.}}</p>
<div class="modform">{{#forminput:form=Mod|namespace selector={{NAMESPACE}}|autocomplete on category={{NAMESPACE}} Mods|placeholder=Start typing to find the mod if it exists}}</div>
<h2>Create Mods</h2>
{| style="width: 100%;"
<p>Mod pages are required in order to add them to {{NAMESPACE}} Guides. Some mods also require specific instructions. Many mod pages already exist, but new mods will need to be added as modding for the game evolves.</p>
|- colspan="2" |
<p>{{Fc|instruction|Begin typing the mod name into the field below. If the mod page exists, you will be taken to the existing mod page for edit; otherwise, you will be taken to a blank form to create the page.}}</p>
==Create & Edit Game Mod Lists==
<div class="modform">{{#forminput:form=Mod|namespace selector={{NAMESPACE}}|autocomplete on category={{NAMESPACE}} Mods|button text=Create / Edit|placeholder=Start typing to find a mod if it exists}}
Concepts (dynamic Categories) are needed to associate mods with mod groups for the {{NAMESPACE}} guide. All games require one Concept per mod group. Concept pages are like [[Concept:{{NAMESPACE}}_ModGroup_01-Tools]]. Creating the Concept page only needs to be done if it does not exist. New supported games will need to be added to [[Property:Game]] if they are not listed in the drop-down menu. All games rely on the same 20 [[Property:ModGroup|mod groups]].
</div>
|-
<h2>Create & Edit Game Mod Lists</h2>
| style="vertical-align:top; margin:0 1em; padding: 0 1em; width: 50%;" | <big>'''STEP 1 -'''</big> {{Fc|important|(Step team only)}} <big>'''Create Concepts'''</big>: <br />
<p>Concepts (dynamic Categories) are needed to associate mods with mod groups for the {{NAMESPACE}} guide. All games require one Concept per mod group. Concept page names are like <code>Concept:{{NAMESPACE}}_ModGroup_01-Tools</code>. Creating the Concept page only needs to be done if it does not exist. New supported games will need to be added to [[Property:Game]] if they are not listed in the drop-down menu. All games rely on the same 20 [[Property:ModGroup|mod groups]].</p>
{{#if:{{#ask:[[Concept:{{NAMESPACE}}_ModGroup_20-Patches]]|minlabel=-|format=plainlist}}|{{Fs|0.85em|{{Fc|dimmer|All required Concept pages have been crated for {{NAMESPACE}}.}} }}<br />|:<big>{{#formlink:form=CreateGameConcepts|link text=Create a concept page|link text='''CREATE GAME-MODGROUP CONCEPTS'''|returnto={{FULLPAGENAME}} }}</big>}}
</div>
<big>'''STEP 2 - ModList Create/Edit'''</big>: Enter the {{NAMESPACE}} guide version into the following forms below at left. <br />
</div>
* "Edit Existing" - loads the guide version for edit if it exists
<div class="row gamehometable">
* "Propagate" - {{Fc|important|(Step team only)}} preloads the most recent {{Fc|important|official guide version}} if the existing version does not exist
<div class="col ml-n3 mr-1" >
<div class="instructions-list">{{Fs|0.95em|{{Fc|important|Unofficial guide creators:}} }}
<p class="mx-2"><big>'''STEP 1 - Create Concepts'''</big>: (optional)</p>
* {{Fs|0.95em|{{Fc|instruction|Please prepend your version id with "Unofficial-YourUserName", and use dashes instead of spaces.}} }}
<p class="mx-2">{{#ifexist:Concept:{{NAMESPACE}}_ModGroup_21-Post-Processing|:{{Fc|green|{{Fs|1.1em|DONE - All required Concept pages have been crated for {{NAMESPACE}}}} }}<br />|:<big>{{#formlink:form=CreateGameConcepts|link text=Create a concept page|link text='''CREATE GAME-MODGROUP CONCEPTS'''|returnto={{FULLPAGENAME}} }}</big>}}</p>
* {{Fs|0.95em|{{Fc|instruction|If you want to propagate an existing guide to get a head start on your next version, please navigate to your current guide at:<br> <code>{{NAMESPACE}}:ModList/Unofficial-YourUserName-#.#.#</code><br> ...and copy all markup to the new version-name location when creating the new version page.}} }}</div>
<p class="mx-2"><big>'''STEP 2 - ModList Create/Edit'''</big>: ModLists are guide-version specific and required to populate mod tables in corresponding guides. Enter the {{NAMESPACE}} guide version into the following forms below at left.</p>
| style="vertical-align:top; margin:0 1em; padding: 0 1em; width: 50%;" | <p><big>'''STEP 3 - Add Mod Recommendations'''</big>: Most guides have specific instructions or configurations for particular mods. We suggest that these instructions be modified at this point so that they show up correctly in your guide, but this can also be done later. If the ModList page was saved, then all mods in the list should be 'aware' that they belong to the Version of the ModList, but it can also take some time for the data to propagate. {{Fc|important|TIP: You can right click mod names in the ModList to access the mod for edit.}}</p>
<ul>
<p><big>'''STEP 4 - Copy/Edit Guide'''</big>: Copy the development guide using the current {{NAMESPACE}} guide as a starting point if one exists. This only needs to be done once to generate a good basis for a new guide. {{Fc|important|This currently only works for official STEP guides.}}
<li>"Edit Exist." - loads the guide version for edit if it exists or creates a new one if it doesn't</li>
</p>
<li>"Propagate" - copies the most recent {{Fc|instruction|OFFICIAL guide version}} (if exists) into the version specified here.</li>
<p><big>'''STEP 5 - Copy/Edit Changelog'''</big>: Copy the development changelog using the current {{NAMESPACE}} changelog as a starting point if one exists. This only needs to be done once to generate a good basis for a new changelog. {{Fc|important|This currently only works for official STEP guides.}}</p>
</ul>
|-
<div class="instructions-list mx-1">{{Fc|important|UNOFFICIAL guide creators:}}
| style="vertical-align:top; margin:0 1em; padding: 0 1em; width: 50%;" | <h4 class="secHeading" style="margin-bottom:0.5em;">CREATE/EDIT ANY MOD LIST</h4>
<ul>
| style="vertical-align:top; margin:0 1em; padding: 0 1em; width: 50%;" | <h4 class="secHeading" style="margin-bottom:0.5em;">CREATE/EDIT {{Fc|important|OFFICIAL GUIDE ONLY}}</h4>
<li>{{Fc|instruction|Prepend your version id with <code>GuideAndOrUserName-</code> (NO spaces or underscores!)}}</li>
|- class="guideVersion" |
<li>{{Fc|instruction|To propagate your ModList (if exists), navigate to the current ModList at e.g., <code>{{NAMESPACE}}:ModList/GuideAndOrUserName-1.0.0</code>, and copy all markup into the new ModList page at e.g., <code>{{NAMESPACE}}:ModList/GuideAndOrUserName-1.0.1</code>}}</li>
| style="float:right; padding:0.25em 1em;" | {{#forminput:form=GuideVersion|button text=Edit Existing|placeholder=Unofficial-YourUserName-#.#.#|autocomplete on category={{NAMESPACE}} Guides|query string=super page=ModList|namespace selector={{NAMESPACE}} }}
</ul>
{{#forminput:form=GuideVersion|button text=Propagate|placeholder=Unofficial-YourUserName-#.#.#|autocomplete on category={{NAMESPACE}} Guides|query string=super page=ModList|namespace selector={{NAMESPACE}}|preload={{NAMESPACE}}:ModList/{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} }}
</div>
| class="rightcoltext" | <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}}?action=edit&section=new&preload={{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}} '''COPY {{NAMESPACE}} DEVELOPMENT GUIDE'''] ([https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}} edit])<br />
</div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}}/changelog?action=edit&section=new&preload={{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}/changelog '''COPY {{NAMESPACE}} DEVELOPMENT CHANGELOG'''] ([https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}}/changelog edit])
<div class="col mr-n3 ml-1" >
|}</includeonly><noinclude>__NOTOC__[[Category:Administrative Templates]]
<p class="mx-2"><big>'''STEP 3 - Add Mod Recommendations'''</big>: Most guides have specific instructions or configurations for particular mods. We suggest that these instructions be modified at this point so that they show up correctly in your guide, but this can also be done later. If the ModList page exists, the mod pages can be accessed directly from there.<br>
{{Fc|instruction|TIP: Right click mod titles in the ModList to open in a new tab for edit.}}</p>
<p class="mx-2"><big>'''STEP 4 - Copy/Edit Guide'''</big>: {{Fc|instruction|Links below only work for OFFICIAL guides.}}<br>
Copy the development guide using the current {{NAMESPACE}} guide as a starting point if one exists. This only needs to be done once to generate a good basis for a new guide.
</p>
<p class="mx-2"><big>'''STEP 5 - Copy/Edit Changelog'''</big>: {{Fc|instruction|Links below only work for OFFICIAL guides.}}<br>
Copy the development changelog using the current {{NAMESPACE}} changelog as a starting point if one exists. This only needs to be done once to generate a good basis for a new changelog.</p>
</div>
</div>
<div class="row gamehometable mt-3">
<div class="col ml-n3 mr-1" >
<h4 class="gamehometablecolumnheading py-1">CREATE / EDIT MOD LISTS</h4>
<div class="modform mx-1">
{{#forminput:form=GuideVersion|button text=Edit Exist.|placeholder=GuideAndOrUserName-1.0.0|query string=super page=ModList|namespace selector={{NAMESPACE}} }}
{{#forminput:form=GuideVersion|button text=Propagate|placeholder=1.0.0 (OFFICIAL guides only)|query string=super page=ModList|namespace selector={{NAMESPACE}}|preload={{NAMESPACE}}:ModList/{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease}} }}
</div>
</div>
<div class="col mr-n3 ml-1" >
<h4 class="gamehometablecolumnheading py-1">CREATE / EDIT OFFICIAL GUIDES</h4>
<p class="mx-2 mt-4 mb-2">[https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}}?action=edit&section=new&preload={{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}} '''Copy OFFICIAL {{NAMESPACE}} Development Guide'''] ([https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}} edit current])</p><br>
<p class="mx-2">[https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}}/changelog?action=edit&section=new&preload={{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}/changelog '''Copy OFFICIAL {{NAMESPACE}} Development Changelog'''] ([https://stepmodifications.org/wiki/{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}DevelopmentRelease#}}/changelog edit current])</p>
</div>
</div>
</div></includeonly><noinclude>__NOTOC__[[Category:Administrative Templates]]


== Purpose & Usage ==
== Purpose & Usage ==

Latest revision as of 20:31, August 29, 2023


Purpose & Usage[edit source]

This styles all game portal pages.

Examples[edit source]

Code:

{{GameHomePages}}

Result: Shown at top of the page.

See Also[edit source]

None