<div dir="ltr">I really like this idea of inheritance. It probably can fit for what we need. This way we can have a simple and clean structure on meta and don't have to double the work like Cristian pointed. <div>+1 for what Riccardo wrote</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-07 20:52 GMT+01:00 Riccardo Iaconelli <span dir="ltr"><<a href="mailto:riccardo@kde.org" target="_blank">riccardo@kde.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi Gian,</div><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On 7 February 2016 at 20:12, Gianluca Rigoletti <span dir="ltr"><<a href="mailto:gianluca.rigoletti@gmail.com" target="_blank">gianluca.rigoletti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Proposed by ruphy, is to use templates just for html/css layouts. Speaking about the template AddCourse, we would have to write in every page of every department the message "Want to add a new course? ..."</blockquote></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">thanks for bringing this up.</div><div class="gmail_extra">Let me explain a little bit more how the proposal would work: because the strategy will differ a little. Having HTML/CSS templates on Meta, does not prevent new templates from being added on the domains.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The idea, in your example, would work as follow:</div><div class="gmail_extra"><br></div><div class="gmail_extra">meta:</div><div class="gmail_extra">- have a generic "infobox" template, with all the looks and features, but no user-visible strings</div><div class="gmail_extra">it/en/...:</div><div class="gmail_extra">- have a specialized "AddCourse" template, which inherits from the first one (i.e. uses it), and *only* adds the relevant strings, correctly translated.</div><br clear="all"><div>An example of this can be seen here:</div><div><a href="http://it.wikitolearn.org/Template:WarningBox" target="_blank">http://it.wikitolearn.org/Template:WarningBox</a><br></div><div>and</div><div><a href="http://it.wikitolearn.org/Template:Bozza" target="_blank">http://it.wikitolearn.org/Template:Bozza</a><br></div><div><br></div><div>This means that you're still using templates and their convenience, but abstracting away all the technical details. When changes are needed, they only need to be performed once, and they get automatically propagated to all the language domains, without breaking translations (and so on...)</div><div><br></div><div>Variables are also an option (see parserfunctions), but they are apparently quite heavy on the server.</div><div><br></div><div>Bye,</div><div>-Riccardo</div><span class="HOEnZb"><font color="#888888">-- <br><div>Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平<br>Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch שלום<br>Shanti Vrede Baris Rój Mír Taika Rongo Sulh Mir Py'guapy 평화</div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Gianluca</div></div>
</div>