Template:GamePortalPages: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
 
(48 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. IF the mod page exists, and guide-version-specific instructions are needed (because the base instructions are incorrect), [[STEP:Version-Specific Mod Instructions|follow these instructions]] to access the mod page for adding version-specific instructions.}} }}
<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>
 
<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}}
==Create & Edit Game Mod Lists==
</div>
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]].
<h2>Create & Edit Game Mod Lists</h2>
|-
<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>
| 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>
</div>
{{#if:{{#ask:[[Concept:{{NAMESPACE}}_ModGroup_21-ENB]]|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 class="row gamehometable">
* "Edit Existing" - loads the guide version for edit if it exists
<div class="col ml-n3 mr-1" >
* "Propagate" - {{Fc|important|(Step team only)}} preloads the most recent {{Fc|important|official guide version}} if the existing version does not exist
<p class="mx-2"><big>'''STEP 1 - Create Concepts'''</big>: (optional)</p>
<div class="instructions-list">{{Fs|0.95em|{{Fc|important|Unofficial guide creators:}} }}
<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|Please prepend your version id with "Unofficial-YourUserName", and use dashes instead of spaces.}} }}
<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>
</div>
<ul>
 
<li>"Edit Exist." - loads the guide version for edit if it exists or creates a new one if it doesn't</li>
| style="vertical-align:top; margin:0 1em; padding: 0 1em; width: 50%;" | <p><big>'''STEP 3 - Copy/Edit Guide/Changelog'''</big>: {{Fc|important|(official guides ONLY)}} 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>
<li>"Propagate" - copies the most recent {{Fc|instruction|OFFICIAL guide version}} (if exists) into the version specified here.</li>
<div class="instructions-list">{{Fs|0.95em|{{Fc|important|Unofficial guide creators:}} }}
</ul>
* {{Fs|0.95em|{{Fc|instruction|To propagate an existing guide/changelog to get a head start on your next version, navigate to your current guide at:<br> <code>/wiki/{{NAMESPACE}}:ModList/Unofficial-YourUserName-#.#.#</code>. Then invoke the editor and copy all markup to the new version-name location when creating the new page.}} }}</div>
<div class="instructions-list mx-1">{{Fc|important|UNOFFICIAL guide creators:}}
<p><big>'''STEP 4 - Add Mod Recommendations'''</big>: Most guides have specific instructions or configurations for particular mods. These instructions can be modified at this point so that they show up correctly in your guide, but this can also be done later. {{Fc|important|TIP: You can right click mod names in the ModList to access the mod for edit.}}</p>
<ul>
|-
<li>{{Fc|instruction|Prepend your version id with <code>GuideAndOrUserName-</code> (NO spaces or underscores!)}}</li>
| 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>
<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="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>
</ul>
|- class="guideVersion" |
</div>
| 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}} }}
</div>
{{#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="col mr-n3 ml-1" >
| 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 />
<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>
&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])
{{Fc|instruction|TIP: Right click mod titles in the ModList to open in a new tab for edit.}}</p>
|}</includeonly><noinclude>__NOTOC__[[Category:Administrative Templates]]
<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