Content deleted Content added
→Example: Add Template:Hatnote: For illustration only, not intended to be up-to-date |
Move the example section right below syntax section |
||
Line 48:
{{Clear}}
== Example ==▼
{{hatnote|The following markup is included '''only for illustration purposes'''. It is not intended to provide up-to-date information about [[Python (programming language)|Python]] programming language and should not be updated for the sake of '''truth'''.}}▼
{{Infobox programming language▼
| name = Python▼
| logo = Python logo and wordmark.svg▼
| logo_size = 260px▼
| paradigm = [[Multi-paradigm programming language|Multi-paradigm]]: [[object-oriented programming|object-oriented]], [[imperative programming|imperative]], [[functional programming|functional]], [[procedural programming|procedural]], [[reflective programming|reflective]]▼
| year = {{Start date and age|1991|df=yes}}▼
| designer = [[Guido van Rossum]]▼
| developer = [[Python Software Foundation]]▼
| latest_release_version = {{Unbulleted list|3.4.3 / {{Start date|2015|02|25|df=yes}}|2.7.10 / {{Start date and age|2015|05|23|df=yes}}}}▼
| latest_preview_version = 3.5.0b3 / {{Start date and age|2015|07|05|df=yes}}▼
| typing = [[Duck typing|Duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)▼
| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]▼
| dialects = [[Cython]], [[RPython]], [[Stackless Python]]▼
| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[Haskell (programming language)|Haskell]], [[Icon (programming language)|Icon]], [[Java (programming language)|Java]], [[Lisp (programming language)|Lisp]], [[Modula-3]], [[Perl]]▼
| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Falcon (programming language)|Falcon]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]▼
| operating_system = [[Cross-platform]]▼
| license = [[Python Software Foundation License]]▼
| website = {{URL|https://www.python.org/}}▼
| file_ext = .py, .pyc, .pyd, .pyo, .pyw▼
| wikibooks = Python Programming▼
}}▼
<pre style="overflow: auto">▼
{{Infobox programming language▼
| name = Python▼
| logo = Python logo and wordmark.svg▼
| logo_size = 260px▼
| paradigm = [[multi-paradigm programming language|multi-paradigm]]: [[object-oriented programming|object-oriented]], [[imperative programming|imperative]], [[functional programming|functional]], [[procedural programming|procedural]], [[reflective programming|reflective]]▼
| year = {{Start date and age|1991|df=yes}}▼
| designer = [[Guido van Rossum]]▼
| developer = [[Python Software Foundation]]▼
| latest_release_version = {{Unbulleted list|3.4.3 / {{Start date|2015|02|25|df=yes}}|2.7.10 / {{Start date|2015|05|23|df=yes}}}}▼
| latest_preview_version = 3.5.0b3 / {{Start date|2015|07|05|df=yes}}▼
| typing = [[duck typing|duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)▼
| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]▼
| dialects = [[Cython]], [[RPython]], [[Stackless Python]]▼
| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[Haskell (programming language)|Haskell]], [[Icon (programming language)|Icon]], [[Java (programming language)|Java]], [[Lisp (programming language)|Lisp]], [[Modula-3]], [[Perl]]▼
| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Falcon (programming language)|Falcon]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]▼
| operating_system = [[Cross-platform]]▼
| license = [[Python Software Foundation License]]▼
| website = {{URL|https://www.python.org/}}▼
| file_ext = .py, .pyc, .pyd, .pyo, .pyw▼
| wikibooks = Python Programming▼
}}▼
</pre>▼
{{-}}▼
===Parameters===
{{TemplateDataHeader}}
Line 369 ⟶ 419:
}
</templatedata>
▲== Example ==
▲{{hatnote|The following markup is included '''only for illustration purposes'''. It is not intended to provide up-to-date information about [[Python (programming language)|Python]] programming language and should not be updated for the sake of '''truth'''.}}
▲{{Infobox programming language
▲| name = Python
▲| logo = Python logo and wordmark.svg
▲| logo_size = 260px
▲| paradigm = [[Multi-paradigm programming language|Multi-paradigm]]: [[object-oriented programming|object-oriented]], [[imperative programming|imperative]], [[functional programming|functional]], [[procedural programming|procedural]], [[reflective programming|reflective]]
▲| year = {{Start date and age|1991|df=yes}}
▲| designer = [[Guido van Rossum]]
▲| developer = [[Python Software Foundation]]
▲| latest_release_version = {{Unbulleted list|3.4.3 / {{Start date|2015|02|25|df=yes}}|2.7.10 / {{Start date and age|2015|05|23|df=yes}}}}
▲| latest_preview_version = 3.5.0b3 / {{Start date and age|2015|07|05|df=yes}}
▲| typing = [[Duck typing|Duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)
▲| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
▲| dialects = [[Cython]], [[RPython]], [[Stackless Python]]
▲| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[Haskell (programming language)|Haskell]], [[Icon (programming language)|Icon]], [[Java (programming language)|Java]], [[Lisp (programming language)|Lisp]], [[Modula-3]], [[Perl]]
▲| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Falcon (programming language)|Falcon]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]
▲| operating_system = [[Cross-platform]]
▲| license = [[Python Software Foundation License]]
▲| website = {{URL|https://www.python.org/}}
▲| file_ext = .py, .pyc, .pyd, .pyo, .pyw
▲| wikibooks = Python Programming
▲}}
▲<pre style="overflow: auto">
▲{{Infobox programming language
▲| name = Python
▲| logo = Python logo and wordmark.svg
▲| logo_size = 260px
▲| paradigm = [[multi-paradigm programming language|multi-paradigm]]: [[object-oriented programming|object-oriented]], [[imperative programming|imperative]], [[functional programming|functional]], [[procedural programming|procedural]], [[reflective programming|reflective]]
▲| year = {{Start date and age|1991|df=yes}}
▲| designer = [[Guido van Rossum]]
▲| developer = [[Python Software Foundation]]
▲| latest_release_version = {{Unbulleted list|3.4.3 / {{Start date|2015|02|25|df=yes}}|2.7.10 / {{Start date|2015|05|23|df=yes}}}}
▲| latest_preview_version = 3.5.0b3 / {{Start date|2015|07|05|df=yes}}
▲| typing = [[duck typing|duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)
▲| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
▲| dialects = [[Cython]], [[RPython]], [[Stackless Python]]
▲| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[Haskell (programming language)|Haskell]], [[Icon (programming language)|Icon]], [[Java (programming language)|Java]], [[Lisp (programming language)|Lisp]], [[Modula-3]], [[Perl]]
▲| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Falcon (programming language)|Falcon]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]
▲| operating_system = [[Cross-platform]]
▲| license = [[Python Software Foundation License]]
▲| website = {{URL|https://www.python.org/}}
▲| file_ext = .py, .pyc, .pyd, .pyo, .pyw
▲| wikibooks = Python Programming
▲}}
▲</pre>
▲{{-}}
== Microformat ==
|