User:Jay8g/sandbox/Template:Airline fleet table/Start/doc

{{documentation subpage}}

{

"description": "This template produces the header row for airline fleet tables.",

"params": {

"opentable": {

"type": "string/line",

"default": "yes",

"label": "Open table?",

"description": "Open the table? Set to no to not open the table (if you want table content before the header row). (opt-out)"

},

"sortable": {

"type": "string/line",

"default": "no",

"label": "Sortable?",

"description": "Make the table sortable? Set to yes to make the table sortable. (opt-in)"

},

"sortable-aircraft": {

"type": "string/line",

"default": "yes",

"label": "Sortable: \"Aircraft\" column?",

"description": "Make the \"Aircraft\" column sortable? Set to no to make the \"Aircraft\" column not sortable. Requires \"sortable\" to be enabled to work. (opt-out (if \"sortable\" enabled))"

},

"sortable-status": {

"type": "string/line",

"default": "yes",

"label": "Sortable: Status columns?",

"description": "Make the status columns sortable? Set to no to make the status columns not sortable. Requires \"sortable\" to be enabled to work. (opt-out (if \"sortable\" enabled))"

},

"status-inservice": {

"type": "string/line",

"default": "yes",

"label": "Status: \"In service\" column?",

"description": "Show an \"In service\" status column? Set to no to not show an \"In service\" column. (opt-out)"

},

"status-inservice-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: \"In service\": Per-configuration column?",

"description": "Show a per-configuration column for the \"In service\" column? Set to yes to show the per-configuration column. Requires \"status-inservice\" (\"Status: \"In service\" column?\") to not be disabled to work. (opt-in)"

},

"status-orders": {

"type": "string/line",

"default": "yes",

"label": "Status: \"Orders\" column?",

"description": "Show an \"Orders\" status column? Set to no to not show an \"Orders\" column. (opt-out)"

},

"status-orders-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: \"Orders\": Per-configuration column?",

"description": "Show a per-configuration column for the \"Orders\" column? Set to yes to show the per-configuration column. Requires \"status-orders\" (\"Status: \"Orders\" column?\") to not be disabled to work. (opt-in)"

},

"status-options": {

"type": "string/line",

"default": "no",

"label": "Status: \"Options\" column?",

"description": "Show an \"Options\" status column? Set to yes to show an \"Options\" column. (opt-in)"

},

"status-options-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: \"Options\": Per-configuration column?",

"description": "Show a per-configuration column for the \"Options\" column? Set to yes to show the per-configuration column. Requires \"status-options\" (\"Status: \"Options\" column?\") to be enabled to work. (opt-in)"

},

"status-stored": {

"type": "string/line",

"default": "no",

"label": "Status: \"Stored\" column?",

"description": "Show an \"Options\" status column? Set to yes to show an \"Options\" column. (opt-in)"

},

"status-stored-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: \"Stored\": Per-configuration column?",

"description": "Show a per-configuration column for the \"Stored\" column? Set to yes to show the per-configuration column. Requires \"status-stored\" (\"Status: \"Stored\" column?\") to be enabled to work. (opt-in)"

},

"status-custom1": {

"type": "string",

"label": "Status: Custom column 1",

"description": "The name for the first custom status column."

},

"status-custom1-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: Custom column 1: Per-configuration column?",

"description": "Show a per-configuration column for the first custom status column? Set to yes to show the per-configuration column. Requires \"status-custom1\" (\"Status: Custom column 1\") to be used to work. (opt-in)"

},

"status-custom2": {

"type": "string",

"label": "Status: Custom column 2",

"description": "The name for the second custom status column."

},

"status-custom2-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: Custom column 2: Per-configuration column?",

"description": "Show a per-configuration column for the second custom status column? Set to yes to show the per-configuration column. Requires \"status-custom2\" (\"Status: Custom column 2\") to be used to work. (opt-in)"

},

"status-custom3": {

"type": "string",

"label": "Status: Custom column 3",

"description": "The name for the third custom status column."

},

"status-custom3-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: Custom column 3: Per-configuration column?",

"description": "Show a per-configuration column for the third custom status column? Set to yes to show the per-configuration column. Requires \"status-custom3\" (\"Status: Custom column 3\") to be used to work. (opt-in)"

},

"status-custom4": {

"type": "string",

"label": "Status: Custom column 4",

"description": "The name for the fourth custom status column."

},

"status-custom4-perconfig": {

"label": "Status: Custom column 4: Per-configuration column?",

"description": "Show a per-configuration column for the fourth custom status column? Set to yes to show the per-configuration column. Requires \"status-custom4\" (\"Status: Custom column 4\") to be used to work. (opt-in)",

"type": "string/line",

"default": "no"

},

"status-custom5": {

"type": "string",

"label": "Status: Custom column 5",

"description": "The name for the fifth custom status column."

},

"status-custom5-perconfig": {

"type": "string/line",

"default": "no",

"label": "Status: Custom column 5: Per-configuration column?",

"description": "Show a per-configuration column for the fifth custom status column? Set to yes to show the per-configuration column. Requires \"status-custom5\" (\"Status: Custom column 5\") to be used to work. (opt-in)"

},

"class-F": {

"type": "string/line",

"default": "no",

"label": "Class: F (First)?",

"description": "Show a passengers column for First (F) Class? Set to yes to show the F (First) column. (opt-in)"

},

"class-F-code": {

"type": "string/line",

"default": "F",

"label": "Class: F (First): Code",

"description": "The code (typically one letter) for F (First) class, to replace \"F\". Requires \"class-F\" (\"Class: F (First)?\") to be enabled to work."

},

"class-F-name": {

"type": "string/line",

"default": "First",

"label": "Class: F (First): Name",

"description": "The name for F (First) class, to replace \"First\". Requires \"class-F\" (\"Class: F (First)?\") to be enabled to work."

},

"class-J": {

"type": "string/line",

"default": "no",

"label": "Class: J (Business)?",

"description": "Show a passengers column for Business (J) Class? Set to yes to show the J (Business) column. (opt-in)"

},

"class-J-code": {

"type": "string/line",

"default": "J",

"label": "Class: J (Business): Code",

"description": "The code (typically one letter) for J (Business) class, to replace \"J\". Requires \"class-J\" (\"Class: J (Business)?\") to be enabled to work."

},

"class-J-name": {

"type": "string/line",

"default": "Business",

"label": "Class: J (Business): Name",

"description": "The name for J (Business) class, to replace \"Business\". Requires \"class-J\" (\"Class: J (Business)?\") to be enabled to work."

},

"class-Y+": {

"type": "string/line",

"default": "no",

"label": "Class: Y+ (Premium economy)?",

"description": "Show a passengers column for Premium economy (Y+) Class? Set to yes to show the Y+ (Premium economy) column. (opt-in)"

},

"class-Y+-code": {

"type": "string/line",

"default": "Y+",

"label": "Class: Y+ (Premium economy): Code",

"description": "The code (typically one letter) for Y+ (Premium economy) class, to replace \"Y+\". Requires \"class-Y+\" (\"Class: Y+ (Premium economy)?\") to be enabled to work."

},

"class-Y+-name": {

"type": "string/line",

"default": "Premium economy",

"label": "Class: Y+ (Premium economy): Name",

"description": "The name for Y+ (Premium economy) class, to replace \"Premium economy\". Requires \"class-Y+\" (\"Class: Y+ (Premium economy)?\") to be enabled to work."

},

"class-Y": {

"type": "string/line",

"default": "no",

"label": "Class: Y (Economy)?",

"description": "Show a passengers column for Economy (Y) Class? Set to yes to show the Y (Economy) column. (opt-in)"

},

"class-Y-code": {

"type": "string/line",

"default": "Y",

"label": "Class: Y (Economy): Code",

"description": "The code (typically one letter) for Y (Economy) class, to replace \"Y\". Requires \"class-Y\" (\"Class: Y (Economy)?\") to be enabled to work."

},

"class-Y-name": {

"type": "string/line",

"default": "Economy",

"label": "Class: Y (Economy): Name",

"description": "The name for Y (Economy) class, to replace \"Economy\". Requires \"class-Y\" (\"Class: Y (Economy)?\") to be enabled to work."

},

"class-custom1-code": {

"type": "string/line",

"label": "Class: Custom column 1: Code",

"description": "The code (typically one letter) for the first custom class column. (This can be set to a name if there is no code for this class.)"

},

"class-custom1-name": {

"type": "string/line",

"label": "Class: Custom column 1: Name",

"description": "The name for the first custom class column. Requires \"class-custom1-code\" (\"Class: Custom column 1: Code\") to be used to work. (If there is no code for this class, the name can be put into the code parameter instead.)"

},

"class-custom2-code": {

"type": "string/line",

"label": "Class: Custom column 2: Code",

"description": "The code (typically one letter) for the second custom class column. (This can be set to a name if there is no code for this class.)"

},

"class-custom2-name": {

"type": "string/line",

"label": "Class: Custom column 2: Name",

"description": "The name for the second custom class column. Requires \"class-custom2-code\" (\"Class: Custom column 2: Code\") to be used to work. (If there is no code for this class, the name can be put into the code parameter instead.)"

},

"class-custom3-code": {

"type": "string/line",

"label": "Class: Custom column 3: Code",

"description": "The code (typically one letter) for the third custom class column. (This can be set to a name if there is no code for this class.)"

},

"class-custom3-name": {

"type": "string/line",

"label": "Class: Custom column 3: Name",

"description": "The name for the third custom class column. Requires \"class-custom3-code\" (\"Class: Custom column 3: Code\") to be used to work. (If there is no code for this class, the name can be put into the code parameter instead.)"

},

"class-custom4-code": {

"type": "string/line",

"label": "Class: Custom column 4: Code",

"description": "The code (typically one letter) for the fourth custom class column. (This can be set to a name if there is no code for this class.)"

},

"class-custom4-name": {

"type": "string/line",

"label": "Class: Custom column 4: Name",

"description": "The name for the fourth custom class column. Requires \"class-custom4-code\" (\"Class: Custom column 4: Code\") to be used to work. (If there is no code for this class, the name can be put into the code parameter instead.)"

},

"class-custom5-code": {

"type": "string/line",

"label": "Class: Custom column 5: Code",

"description": "The code (typically one letter) for the fifth custom class column. (This can be set to a name if there is no code for this class.)"

},

"class-custom5-name": {

"type": "string/line",

"label": "Class: Custom column 5: Name",

"description": "The name for the fifth custom class column. Requires \"class-custom5-code\" (\"Class: Custom column 5: Code\") to be used to work. (If there is no code for this class, the name can be put into the code parameter instead.)"

},

"sortable-class": {

"type": "string/line",

"default": "yes",

"label": "Sortable: Class columns?",

"description": "Make the class (passengers) columns sortable? Set to no to make the class (passengers) columns not sortable. Requires \"sortable\" to be enabled to work. (opt-out (if \"sortable\" enabled))"

},

"routes": {

"type": "string/line",

"default": "no",

"label": "Routes column?",

"description": "Show a \"Routes\" column? Set to \"yes\" to show a \"Routes\" column. Requires \"sortable\" to be enabled to work. (opt-in)"

},

"sortable-routes": {

"type": "string/line",

"default": "no",

"label": "Sortable: Routes column?",

"description": "Make the \"Routes\" column sortable? Set to yes to make the \"Routes\" column sortable. Requires \"sortable\" to be enabled to work. (opt-in)"

},

"customcol1": {

"type": "string",

"label": "Custom column 1",

"description": "The name for the first custom column."

},

"sortable-customcol1": {

"type": "string/line",

"default": "no",

"label": "Sortable: Custom column 1?",

"description": "Make the first custom column sortable? Set to yes to make the first custom column sortable. Requires \"sortable\" to be enabled to work. (opt-in)"

},

"customcol2": {

"type": "string",

"label": "Custom column 2",

"description": "The name for the second custom column."

},

"sortable-customcol2": {

"type": "string/line",

"default": "no",

"label": "Sortable: Custom column 2?",

"description": "Make the second custom column sortable? Set to yes to make the second custom column sortable. Requires \"sortable\" to be enabled to work. (opt-in)"

},

"customcol3": {

"type": "string",

"label": "Custom column 3",

"description": "The name for the third custom column."

},

"sortable-customcol3": {

"type": "string/line",

"default": "no",

"label": "Sortable: Custom column 3?",

"description": "Make the third custom column sortable? Set to yes to make the third custom column sortable. Requires \"sortable\" to be enabled to work. (opt-in)"

},

"customcol4": {

"type": "string",

"label": "Custom column 4",

"description": "The name for the fourth custom column."

},

"sortable-customcol4": {

"type": "string/line",

"default": "no",

"label": "Sortable: Custom column 4?",

"description": "Make the fourth custom column sortable? Set to yes to make the fourth custom column sortable. Requires \"sortable\" to be enabled to work. (opt-in)"

},

"customcol5": {

"type": "string",

"label": "Custom column 5",

"description": "The name for the fifth custom column."

},

"sortable-customcol5": {

"type": "string/line",

"label": "Sortable: Custom column 5?",

"description": "Make the fifth custom column sortable? Set to yes to make the fifth custom column sortable. Requires \"sortable\" to be enabled to work. (opt-in)"

},

"notes": {

"type": "string/line",

"default": "no",

"label": "Notes column?",

"description": "Show a \"Notes\" column? Set to yes to show a \"Notes\" column. (opt-in)"

},

"sortable-notes": {

"type": "string/line",

"default": "no",

"label": "Sortable: Notes column?",

"description": "Make the \"Notes\" column sortable? Set to yes to make the \"Notes\" column sortable. Requires \"sortable\" to be enabled to work. (opt-in)"

}

}

}