(fixed up the input table a bit) |
(new script added) |
||
Line 1: | Line 1: | ||
== TvCInput Template Documentation == | == TvCInput Template Documentation == | ||
This documentation explains how to use the `TvCInput` template for representing inputs consistently across the wiki. all inputs are case insensitive, don't worry about breaking your shift key | This documentation explains how to use the `TvCInput` template for representing inputs consistently across the wiki. all inputs are case insensitive, don't worry about breaking your shift key. | ||
Also writing <nowiki>{{TvCInput|{input}}}</nowiki> for each entry is kinda grating so here is a [https://github.com/cce2955/TvCSuperComboConverter/blob/main/tvcwikiconvert.ps1 powershell script] that will take your inputs and just output them to the correct format, if you don't want to download strange code from github here it is right here in the spoiler: | |||
<div class="mw-collapsible mw-collapsed" style="float: none; text-align: left; margin: 0;"> | |||
<div class="mw-collapsible-toggle">Spoiler: Click to reveal</div> | |||
<pre class="mw-collapsible-content" style="text-align: left; margin: 0;"> | |||
# Function to wrap input in TvCInput format | |||
function Get-TvCFormattedInput { | |||
param ( | |||
[string]$inputString | |||
) | |||
# Return the wrapped format | |||
return "{{TvCInput|$inputString}}" | |||
} | |||
# Prompt user for input | |||
Write-Host "Enter the TvCInput string (multiple inputs separated by spaces):" | |||
$userInput = Read-Host | |||
# Split the input into multiple strings and process each one | |||
$outputs = @() | |||
foreach ($input in $userInput -split '\s+') { | |||
$outputs += Get-TvCFormattedInput -inputString $input | |||
} | |||
# Combine the results into a single output string | |||
$outputString = $outputs -join " " | |||
# Output the result | |||
Write-Host $outputString | |||
</pre> | |||
</div> | |||
{| class="wikitable" style="width: 100%;" | {| class="wikitable" style="width: 100%;" | ||
! Input Type !! Input !! Template Usage !! Rendered Output | ! Input Type !! Input !! Template Usage !! Rendered Output |
Revision as of 20:36, 28 December 2024
TvCInput Template Documentation
This documentation explains how to use the `TvCInput` template for representing inputs consistently across the wiki. all inputs are case insensitive, don't worry about breaking your shift key.
Also writing {{TvCInput|{input}}} for each entry is kinda grating so here is a powershell script that will take your inputs and just output them to the correct format, if you don't want to download strange code from github here it is right here in the spoiler:
Spoiler: Click to reveal
# Function to wrap input in TvCInput format function Get-TvCFormattedInput { param ( [string]$inputString ) # Return the wrapped format return "{{TvCInput|$inputString}}" } # Prompt user for input Write-Host "Enter the TvCInput string (multiple inputs separated by spaces):" $userInput = Read-Host # Split the input into multiple strings and process each one $outputs = @() foreach ($input in $userInput -split '\s+') { $outputs += Get-TvCFormattedInput -inputString $input } # Combine the results into a single output string $outputString = $outputs -join " " # Output the result Write-Host $outputString
Input Type | Input | Template Usage | Rendered Output |
---|---|---|---|
Basic Input | A | {{TvCInput|A}} | |
Directional Input | 6 | {{TvCInput|6}} | |
Special Input | 236x | {{TvCInput|236x}} | |
Jump Input | j.B | {{TvCInput|j.B}} | |
Charge Input | 46chargeB | {{TvCInput|46chargeB}} | |
Hold Input | holdA | {{TvCInput|holdA}} | |
Release Input | releaseC | {{TvCInput|releaseC}} | |
Diagonal Input | 3b | {{TvCInput|3b}} | |
System Input | BBQ | {{TvCInput|BBQ}} | |
Partner Input | P | {{TvCInput|P}} | |
Super Jump Input | sjc | {{TvCInput|sjc}} | |
Dash Input | 66 | {{TvCInput|66}} | |
IAD | iad | {{TvCInput|iad}} | |
Supers | 236XX | {{TvCInput|236XX}} |
Media Management
Upload Guidelines
Task | Instructions | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Adding categories to media uploads. | Include the following category for images or WebMs:
WebM Creation Tools Overview
|
Templates and Their Uses
Purpose | Acts as a directory for all public-facing pages in the TvC wiki. |
---|---|
Usage |
1. Link to it from within the "General" section. 2. Use the code snippet provided to link it. |
Code Snippet |
<div style="background-image: linear-gradient(to bottom, #FF69B4, transparent 50%);
flex: 0 1 70px; text-align: center; min-width: 70px; height: 100px;">
{{Navbox/Icon| image={your icon here} | text=[THIS LINKS TO YOUR NEW PAGE, do not put the URL, just the page name]}}
</div>
|
Additional Notes |
|
TvC Colors
Purpose | Notes |
---|---|
Predefined color schemes for numpad notation. |
|