テンプレート:Cite code
| テンプレートのドキュメンテーション |
|---|
| 注意: 上記のテンプレートは部分的または完全に非表示になることがあります。 |
| このドキュメンテーションを編集するにはテンプレート:Cite_code/docにアクセスしてください。(これはどう機能する?) |
This template is used to format references when citing code scripts.
| パラメーター | 説明 | 型 | 状態 | |
|---|---|---|---|---|
| Script name | script | Name of the code script.
| 文字列 | 必須 |
| Beginning line | line | Starting line number of the relevant snippet within the script.
| 数値 | 省略可能 |
| Ending line | line2 | Ending line number of the relevant snippet within the script. Must be used together with "Beginning line."
| 数値 | 省略可能 |
{{Cite code|script = gml_Object_obj_roomofdog_Alarm_0}} gives...
{{Cite code|script = gml_Object_obj_roomofdog_Alarm_0|line = 3}} gives...
{{Cite code|script = gml_Object_obj_roomofdog_Alarm_0|line = 3|line2 = 8}} gives...
- Module:Cite for the module handling the formatting of citations
- Module:Cite/data for the mapping from handles to author names