Modèle:Cite code/doc
This template is used to format references when citing code scripts.
| Paramètre | Description | Type | État | |
|---|---|---|---|---|
| Script name | script | Name of the code script.
| Chaîne | obligatoire |
| Beginning line | line | Starting line number of the relevant snippet within the script.
| Nombre | facultatif |
| Ending line | line2 | Ending line number of the relevant snippet within the script. Must be used together with "Beginning line."
| Nombre | facultatif |
{{Cite code|script = gml_Object_obj_roomofdog_Alarm_0}} gives...
gml_Object_obj_roomofdog_Alarm_0 script
{{Cite code|script = gml_Object_obj_roomofdog_Alarm_0|line = 3}} gives...
gml_Object_obj_roomofdog_Alarm_0 script, line 3
{{Cite code|script = gml_Object_obj_roomofdog_Alarm_0|line = 3|line2 = 8}} gives...
gml_Object_obj_roomofdog_Alarm_0 script, lines 3–8
- Module:Cite for the module handling the formatting of citations
- Module:Cite/data for the mapping from handles to author names