Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "ScriptCards Scripts/Script Variant Template"

From Roll20 Wiki

Jump to: navigation, search
(Info about Variant/ Customized versions of Scripts)
(Template: Example Variant Script Name)
Line 4: Line 4:
  
 
=== Template: Example Variant Script Name ===
 
=== Template: Example Variant Script Name ===
<span class="mw-customtoggle-SCRIPT_NAME" style="font-size:small; font-weight:normal; color:#003399;">[Expand/Collapse SCRIPT NAME]</span>
+
 
<div class="mw-collapsible" id="mw-customcollapsible-SCRIPT_NAME" style="width: 100%;">
+
 
<!-- AFTER PASTING THE TEMPLATE:  Delete any text between the symbols:  <! --  -- >  as these are "internal comments" and will not be seen by a typical viewer.  They're intended to be a reminder to submitters in how to use this template only.
 
<!-- AFTER PASTING THE TEMPLATE:  Delete any text between the symbols:  <! --  -- >  as these are "internal comments" and will not be seen by a typical viewer.  They're intended to be a reminder to submitters in how to use this template only.
This template represents some basic syntax to post a script on this page.  Please be sure to copy and then paste this entire section at the end of the existing list of scripts.   
+
This template represents some basic syntax to post a script on this page.  Please be sure to copy the template from the Template for variations from the main page and then paste the entire template in the new variation page.   
When updating your copy of the template, please remember the following tips:
+
When updating the template, please remember the following tips:
 
   In the code just after the heading line (with the ===) be sure the span class name ends in the exact same naming as the ID on the line below the heading.  If they don't match the fabric of space and time will fall apart!  The first part (mw-...) will be different on each row.
 
   In the code just after the heading line (with the ===) be sure the span class name ends in the exact same naming as the ID on the line below the heading.  If they don't match the fabric of space and time will fall apart!  The first part (mw-...) will be different on each row.
 
       span class="mw-customtoggle-SCRIPT_NAME" and id="mw-customcollapsible-SCRIPT_NAME"
 
       span class="mw-customtoggle-SCRIPT_NAME" and id="mw-customcollapsible-SCRIPT_NAME"
Line 14: Line 13:
 
AFTER PASTING THE TEMPLATE:  DELETE ABOVE THIS ROW so that "Author of script" comes right after the ''div class'' line above. -->
 
AFTER PASTING THE TEMPLATE:  DELETE ABOVE THIS ROW so that "Author of script" comes right after the ''div class'' line above. -->
 
'''Author of this variation:''' <!-- Your Discord or Roll20 Forum name --><br/>
 
'''Author of this variation:''' <!-- Your Discord or Roll20 Forum name --><br/>
'''''This variation is based on the (Script Name) by (Original Author)'''''<br>
+
'''''This variation is based on the (Script Name) by (Original Author)''''' (e.g. This variation is based on the Example Script Template by karma827)<br>
 
'''Link to original script:''' <!-- Ideally this would link to the section of the User-submitted Wiki section where the original submission will be found. --> [https://wiki.roll20.net/ScriptCards_Scripts#Template:_Example_Script_Name Original Script Link] <br>
 
'''Link to original script:''' <!-- Ideally this would link to the section of the User-submitted Wiki section where the original submission will be found. --> [https://wiki.roll20.net/ScriptCards_Scripts#Template:_Example_Script_Name Original Script Link] <br>
 
'''Game/System specific? Which one:''' <!-- Either put "Not specific" or put the name of the game/system this variation works with. --> <br/>
 
'''Game/System specific? Which one:''' <!-- Either put "Not specific" or put the name of the game/system this variation works with. --> <br/>

Revision as of 17:47, 17 June 2023

Info about Variant/ Customized versions of Scripts

This sub-page is a template for how variations of, or customizations to, popular/ successful scripts can be saved for other users to take advantage of while preserving the original author's original work in the primary area where traffic will flow. When populating the info section of the template below, please do not leave anything blank, and please do not refer users back to the original script to determine the information. Definitely be sure to generally refer people back to the original script though.


Template: Example Variant Script Name

Author of this variation:
This variation is based on the (Script Name) by (Original Author) (e.g. This variation is based on the Example Script Template by karma827)
Link to original script: Original Script Link
Game/System specific? Which one:
Purpose of the changes to the original script:
Description of results related to the changes made:
Screenshots:
Caveats/ Notes:
Script code:

 Enter script code here


WikiText markup cheat sheet: </div>