Alterações

Saltar para a navegação Saltar para a pesquisa
Linha 68: Linha 68:  
:::<pre>{{#ifeq:{{{placement|}}}|inline||</p>}}</pre>
 
:::<pre>{{#ifeq:{{{placement|}}}|inline||</p>}}</pre>
 
:::I'd like to stay away from naming the parameter "display" or "position" or anything else that refers to a standard .css keyword.  "Placement" isn't used in official .css as far as I know, so that would be a good choice, although you could name it almost anything reasonable. [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 19h09min de 8 de junho de 2021 (UTC)
 
:::I'd like to stay away from naming the parameter "display" or "position" or anything else that refers to a standard .css keyword.  "Placement" isn't used in official .css as far as I know, so that would be a good choice, although you could name it almost anything reasonable. [[Utilizador:Margotbean|margotbean]] ([[Utilizador Discussão:Margotbean|discussão]]) 19h09min de 8 de junho de 2021 (UTC)
 +
::::I did some tests and got a result that worked, it was as follows:
 +
::::use this in the beginning
 +
::::<pre>{{#ifeq:{{{class|}}}|inline|<span class="nametemplateinline">|<p>}}</pre>
 +
::::and this in the end
 +
::::<pre>{{#ifeq:{{{class|}}}|inline|</span>|</p>}}</pre>
 +
::::Can this be used? [[Utilizador:JaksStrange|JaksStrange]] ([[Utilizador Discussão:JaksStrange|discussão]]) 19h17min de 8 de junho de 2021 (UTC)
4 403

edições

Menu de navegação