https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Wikipedia%3ALua%2FModul%2FHello%2Fen Wikipedia:Lua/Modul/Hello/en - Versionsgeschichte 2025-05-29T03:04:26Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.45.0-wmf.2 https://de.wikipedia.org/w/index.php?title=Wikipedia:Lua/Modul/Hello/en&diff=238666098&oldid=prev PerfektesChaos: update 2023-10-31T11:50:06Z <p>update</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 31. Oktober 2023, 13:50 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 31:</td> <td colspan="2" class="diff-lineno">Zeile 31:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Origin ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Origin ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[:en:Module:Bananas]] <del style="font-weight: bold; text-decoration: none;">and</del> <del style="font-weight: bold; text-decoration: none;">others</del>.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[:en:Module:Bananas]] <ins style="font-weight: bold; text-decoration: none;">(2012/2013),</ins> <ins style="font-weight: bold; text-decoration: none;">meanwhile like [[:en:Module:Example]]</ins>.</div></td> </tr> </table> PerfektesChaos https://de.wikipedia.org/w/index.php?title=Wikipedia:Lua/Modul/Hello/en&diff=117870245&oldid=prev PerfektesChaos: update 2013-04-24T19:48:54Z <p>update</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 24. April 2013, 21:48 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{LuaModuleDoc}}</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{Wikipedia:Lua/Modul-Navigation|Hello|3|lang:de=1|lang:en=1}}</div></td> <td colspan="2" class="diff-empty diff-side-added"></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;code&gt;Hello&lt;/code&gt;''' – module for demonstration of [[Lua]] usage within a Wiki-project.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''&lt;code&gt;Hello&lt;/code&gt;''' – module for demonstration of [[Lua]] usage within a Wiki-project.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> </table> PerfektesChaos https://de.wikipedia.org/w/index.php?title=Wikipedia:Lua/Modul/Hello/en&diff=117598804&oldid=prev PerfektesChaos: Setup 2013-04-16T20:53:12Z <p>Setup</p> <p><b>Neue Seite</b></p><div>{{Wikipedia:Lua/Modul-Navigation|Hello|3|lang:de=1|lang:en=1}}<br /> &#039;&#039;&#039;&lt;code&gt;Hello&lt;/code&gt;&#039;&#039;&#039; – module for demonstration of [[Lua]] usage within a Wiki-project.<br /> <br /> == {{Anker|Template}} Functions for templates ==<br /> ; hello<br /> : Returns a string like &lt;code&gt;Hello, world! This is Lua!&lt;/code&gt;<br /> :* &lt;code&gt;1&lt;/code&gt; – &#039;&#039;(optional)&#039;&#039; name of the recipient<br /> :** Default: &lt;code&gt;world&lt;/code&gt;<br /> <br /> === Syntax example ===<br /> For templates this means:<br /> * without parameter: &lt;code&gt;&lt;nowiki&gt;{{#invoke:Hello|hello}}&lt;/nowiki&gt;&lt;/code&gt;<br /> ** yields: &lt;code&gt;{{#invoke:Hello|hello}}&lt;/code&gt;<br /> * with parameter: &lt;code&gt;&lt;nowiki&gt;{{#invoke:Hello|hello|John Doe}}&lt;/nowiki&gt;&lt;/code&gt;<br /> ** yields: &lt;code&gt;{{#invoke:Hello|hello|John Doe}}&lt;/code&gt;<br /> <br /> == {{Anker|Lua}} Functions for Lua modules ==<br /> &#039;&#039;(None which could be called via require)&#039;&#039;<br /> <br /> == Local implementation ==<br /> ; hello(frame)<br /> : Returns the string.<br /> : &lt;code&gt;frame&lt;/code&gt; – Call environment<br /> :* &lt;code&gt;frame.args[ 1 ]&lt;/code&gt; – Passed first unnamed parameter: &#039;&#039;name of the recipient&#039;&#039;<br /> <br /> == Dependencies ==<br /> &#039;&#039;(No other module required)&#039;&#039;<br /> <br /> == Usage ==<br /> Any test scenario.<br /> <br /> == Origin ==<br /> [[:en:Module:Bananas]] and others.</div> PerfektesChaos