Template:SurgeryStep: Difference between revisions
New Template format, because the code for surgeries uses references to steps and the wiki is just copy-pasting the same snippets |
m Adding documentation, exploring alternate stage names |
||
Line 1: | Line 1: | ||
Woah! You shouldn't be seeing this. Notify [[User:GreytideSkye|GreytideSkye]] ([[User talk:GreytideSkye|talk]]) 23:49, 16 November 2023 (UTC) where this is being shown, unless it's at Template:SurgeryStep. | Woah! You shouldn't be seeing this. Notify [[User:GreytideSkye|GreytideSkye]] ([[User talk:GreytideSkye|talk]]) 23:49, 16 November 2023 (UTC) where this is being shown, unless it's at Template:SurgeryStep. | ||
<noinclude> | |||
For reference, steps come from places like [https://github.com/Skyrat-SS13/Skyrat-tg/blob/master/modular_skyrat/modules/synths/code/surgery/mechanic_steps.dm]. | For reference, steps come from places like [https://github.com/Skyrat-SS13/Skyrat-tg/blob/master/modular_skyrat/modules/synths/code/surgery/mechanic_steps.dm]. | ||
< | For code parity, I'm naming these templates as they are named in the code, e.g. Unscrew Shell is /datum/surgery_step/mechanic_open in [https://github.com/Skyrat-SS13/Skyrat-tg/blob/92746e61f44a8ebd821c76d35e5a4e89d827af0f/code/modules/surgery/mechanic_steps.dm#L3] so it will be here, [[Template:SurgeryStep/mechanic_open]]. | ||
So the Surgery pages use an unformatted table, where the first 2 columns are the "normal" procedure steps ("Procedure") and the last column is a free-for-all "Ghetto Analogues" wherein you post <pre>Image (chance%) Image (chance%)</pre> with no commas or anything. Actually, the second column is always unused and is there just for formatting. | |||
The first column is in the format <pre>Step 1: Image '''Toolname''': step description.</pre> | |||
The width of the table is inconsistent, [[Guide_to_synthetic_surgery]] uses 450px, [[Surgery]] uses 400px. I like 450px better. | |||
I'm going to experiment to see if I can make the template have the columns without the formatting, but, honestly, I think it's going to be necessary to do a two-step | |||
{{SurgeryStep/mechanic_open|skeleton}} | |||
{{SurgeryStep/doc}}[[Category:Recursive template]]</noinclude> |
Revision as of 00:28, 17 November 2023
Woah! You shouldn't be seeing this. Notify GreytideSkye (talk) 23:49, 16 November 2023 (UTC) where this is being shown, unless it's at Template:SurgeryStep.
For reference, steps come from places like [1].
For code parity, I'm naming these templates as they are named in the code, e.g. Unscrew Shell is /datum/surgery_step/mechanic_open in [2] so it will be here, Template:SurgeryStep/mechanic_open.
So the Surgery pages use an unformatted table, where the first 2 columns are the "normal" procedure steps ("Procedure") and the last column is a free-for-all "Ghetto Analogues" wherein you post
Image (chance%) Image (chance%)
with no commas or anything. Actually, the second column is always unused and is there just for formatting. The first column is in the format
Step 1: Image '''Toolname''': step description.
The width of the table is inconsistent, Guide_to_synthetic_surgery uses 450px, Surgery uses 400px. I like 450px better.
I'm going to experiment to see if I can make the template have the columns without the formatting, but, honestly, I think it's going to be necessary to do a two-step
Screwdriver: skeleton.||(75%) (50%) Any other sharp item (10%)