Format for new Python pages: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with '<pre> The '''FILENAME''' file <<INSERT PURPOSE HERE>>. The Python files are written in the python programming language. They can be edited in a text editor such as notepad or i...')
 
m (Reverted edits by 173.203.101.164 (Talk) to last version by Ginger Ale)
 
(2 intermediate revisions by 2 users not shown)
Line 29: Line 29:
This example is a quick idea of what you can do with functions in this file.  
This example is a quick idea of what you can do with functions in this file.  


   <insert code example from actual SDK file>
   <insert code example from actual Python file>


{{Civ4_Python_Files}}
{{Civ4_Python_Files}}
</pre>
</pre>

Latest revision as of 20:41, 8 April 2010

The '''FILENAME''' file <<INSERT PURPOSE HERE>>.

The Python files are written in the python programming language.  They can be edited in a text editor such as notepad or in a programming editor like Python's IDLE. 
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>

==Functions==

Below is a list of all the functions in the file. Each function has a quick description attached to it. Note that there are comments strewn throughout some of these files, direct from the developers in order to aid the potential modders.
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Function 
! style="background:#efefef;" | Parameters
! style="background:#efefef;" | Description
|-
!include function type and name
|enter text here
|enter text here
|-
!include function type and name
|enter text here
|enter text here
|}


==Example==

This example is a quick idea of what you can do with functions in this file. 

  <insert code example from actual Python file>

{{Civ4_Python_Files}}