Wikipédia:Projetos/AWB/LE futebol

      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children>
              <IRule xsi:type="Rule">
                <enabled_>true</enabled_>
                <Children />
                <Name>Imagem (só imagem)</Name>
                <ruletype_>OnWholePage</ruletype_>
                <replace_>\|( *|)imagem( *|)=( *|)\[\[(Ficheiro|Image?m)\:([^\]]*)\]\] *</replace_>
                <with_>|$1imagem$2=$3$5
|$1imagem_tamanho$2= 200px
|$1imagem_legenda$2=</with_>
                <ifContains_ />
                <ifNotContains_ />
                <regex_>true</regex_>
                <ifIsRegex_>false</ifIsRegex_>
                <numoftimes_>100</numoftimes_>
                <ifRegexOptions_>None</ifRegexOptions_>
                <regexOptions_>None</regexOptions_>
              </IRule>
              <IRule xsi:type="Rule">
                <enabled_>true</enabled_>
                <Children />
                <Name>Imagem (sem legenda)</Name>
                <ruletype_>OnWholePage</ruletype_>
                <replace_>\|( *|)imagem( *|)=( *|)\[\[(Ficheiro|Imagem)\:([^\|]*)\|([0-9]*)px\]\] *</replace_>
                <with_>|$1imagem$2=$3$5
|$1imagem_tamanho$2=$3$6px
|$1imagem_legenda$2=</with_>
                <ifContains_ />
                <ifNotContains_ />
                <regex_>true</regex_>
                <ifIsRegex_>false</ifIsRegex_>
                <numoftimes_>100</numoftimes_>
                <ifRegexOptions_>None</ifRegexOptions_>
                <regexOptions_>None</regexOptions_>
              </IRule>
              <IRule xsi:type="Rule">
                <enabled_>true</enabled_>
                <Children />
                <Name>Imagem (com legenda)</Name>
                <ruletype_>OnWholePage</ruletype_>
                <replace_>\|( *|)imagem( *|)=( *|)\[\[Ficheiro\:([^\|]*)\|([0-9]*)px\|([^\]]*)\]\] *</replace_>
                <with_>|$1imagem$2=$3$4
|$1imagem_tamanho$2=$3$5px
|$1imagem_legenda$2=$6</with_>
                <ifContains_ />
                <ifNotContains_ />
                <regex_>true</regex_>
                <ifIsRegex_>false</ifIsRegex_>
                <numoftimes_>100</numoftimes_>
                <ifRegexOptions_>None</ifRegexOptions_>
                <regexOptions_>None</regexOptions_>
              </IRule>
            </Children>
            <Name>Imagem</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_ />
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children>
              <IRule xsi:type="Rule">
                <enabled_>true</enabled_>
                <Children>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Goleiro</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(G|g)oleiro(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[goleiro]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Guarda-redes</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(G|g)uarda-redes(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[goleiro|guarda-redes]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Zagueiro</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(Z|z)agueiro(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[zagueiro]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Volante</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(V|v)olante(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Volante (futebol)|volante]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Name>Ala</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(A|a)la( |)([a-zA-Z]*|)(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Ala (futebol)|ala$6$7]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Lateral direito/esquerdo</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(L|l)ateral(-| )([a-zA-Z]*)(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Lateral (futebol)|lateral-$7]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Lateral</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(L|l)ateral(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Lateral (futebol)|lateral]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Meia</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(M|m)eia(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Meia (futebol)|meia]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Atacante</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(A|a)tacante(\]\]|^\))( *|)</replace_>
                    <with_>|$1posição$2=$3[[Atacante (futebol)|atacante]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Atacante 2</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(A|a)tacante( *|)</replace_>
                    <with_>|$1posição$2=$3[[Atacante (futebol)|atacante]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Líbero</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(L|l)íbero(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Líbero (futebol)|líbero]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                </Children>
                <Name>Incluir link</Name>
                <ruletype_>OnWholePage</ruletype_>
                <replace_ />
                <with_ />
                <ifContains_ />
                <ifNotContains_ />
                <regex_>false</regex_>
                <ifIsRegex_>false</ifIsRegex_>
                <numoftimes_>1</numoftimes_>
                <ifRegexOptions_>None</ifRegexOptions_>
                <regexOptions_>None</regexOptions_>
              </IRule>
              <IRule xsi:type="Rule">
                <enabled_>true</enabled_>
                <Children>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Centroavante -> atacante</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(Centroavante\||)(A|a)tacante(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Atacante (futebol)|atacante]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Meio-de-campo -> meia</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(M|m)eio-de-(C|c)ampo(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Meia (futebol)|meio-de-campo]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Médio -> meia</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(M|m)édio(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[Meia (futebol)|meia]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Defensor -> zagueiro</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(D|d)efensor(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[zagueiro]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                  <IRule xsi:type="Rule">
                    <enabled_>true</enabled_>
                    <Children />
                    <Name>Defesa -> zagueiro</Name>
                    <ruletype_>OnWholePage</ruletype_>
                    <replace_>\|( *|)posição( *|)=( *|)(\[\[|)(D|d)efesa(\]\]|) *</replace_>
                    <with_>|$1posição$2=$3[[zagueiro]]</with_>
                    <ifContains_ />
                    <ifNotContains_ />
                    <regex_>true</regex_>
                    <ifIsRegex_>false</ifIsRegex_>
                    <numoftimes_>1</numoftimes_>
                    <ifRegexOptions_>None</ifRegexOptions_>
                    <regexOptions_>None</regexOptions_>
                  </IRule>
                </Children>
                <Name>Padronização do nome das posições</Name>
                <ruletype_>OnWholePage</ruletype_>
                <replace_ />
                <with_ />
                <ifContains_ />
                <ifNotContains_ />
                <regex_>false</regex_>
                <ifIsRegex_>false</ifIsRegex_>
                <numoftimes_>1</numoftimes_>
                <ifRegexOptions_>None</ifRegexOptions_>
                <regexOptions_>None</regexOptions_>
              </IRule>
            </Children>
            <Name>Posição</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_ />
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Name>Empréstimo</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>→( *|)(\[\[|\{\{)(^\]\})</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>Info/Futebolista</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_ />
        <with_ />
        <ifContains_ />
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>None</ifRegexOptions_>
        <regexOptions_>None</regexOptions_>
      </IRule>