Template:AxiusTest2: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 12: Line 12:
}}>{{#if:{{{quote|}}}
}}>{{#if:{{{quote|}}}
   |''"{{{quote}}}"''{{{Sep|,}}} 
   |''"{{{quote}}}"''{{{Sep|,}}} 
}}{{
<!--============  Author or editor and date  ============-->
  #if:{{{Surname1|}}}
  |{{
    #if: {{{AuthorMask|}}}
    |{{
        #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
        |{{{AuthorMask}}}
        |{{loop|{{{AuthorMask}}}|2=&mdash;}}
      }}
    |{{
        #if: {{{Authorlink1|}}}
        |[[{{{Authorlink1}}} |{{{Surname1}}}{{
          #if: {{{Given1|}}}
          |{{{NameSep|,&#32;}}}{{{Given1}}}
        }}]]
        |{{{Surname1}}}{{
          #if: {{{Given1|}}}
          |{{{NameSep|,&#32;}}}{{{Given1}}}
        }}
      }}
  }}{{
    #if: {{{Surname2|}}}
    |{{#ifexpr:{{{Trunc|8}}}<2
      |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
      |{{
          #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
          |&#32;<!-- then punctuation should be included in AuthorMask -->
          |{{
            #if: {{{Surname3|}}}
            |{{{AuthorSep|&#059;&#32;}}}
            |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
          }}
        }}{{
          #if: {{{Authorlink2|}}}
          |[[{{{Authorlink2}}} |{{{Surname2}}}{{
            #if: {{{Given2|}}}
            |{{{NameSep|,&#32;}}}{{{Given2}}}
          }}]]
          |{{{Surname2}}}{{
            #if: {{{Given2|}}}
            |{{{NameSep|,&#32;}}}{{{Given2}}}
          }}
        }}{{
          #if: {{{Surname3|}}}
          |{{#ifexpr:{{{Trunc|8}}}<3
            |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
            |{{
              #if: {{{Surname4|}}}
              |{{{AuthorSep|&#059;&#32;}}}
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
            }}{{
              #if: {{{Authorlink3|}}}
              |[[{{{Authorlink3}}} |{{{Surname3}}}{{
                  #if: {{{Given3|}}}
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
                }}]]
              |{{{Surname3}}}{{
                  #if: {{{Given3|}}}
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
                }}
            }}{{
              #if:{{{Surname4|}}}
              |{{#ifexpr:{{{Trunc|8}}}<4
                |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                |{{
                    #if: {{{Surname5|}}}
                    |{{{AuthorSep|&#059;&#32;}}}
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                  }}{{
                    #if: {{{Authorlink4|}}}
                    |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                      #if: {{{Given4|}}}
                      |{{{NameSep|,&#32;}}}{{{Given4}}}
                    }}]]
                    |{{{Surname4}}}{{
                      #if: {{{Given4|}}}
                      |{{{NameSep|,&#32;}}}{{{Given4}}}
                    }}
                  }}{{
                  #if:{{{Surname5|}}}
                  |{{#ifexpr:{{{Trunc|8}}}<5
                    |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                    |{{
                    #if: {{{Surname6|}}}
                    |{{{AuthorSep|&#059;&#32;}}}
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                    }}{{
                    #if: {{{Authorlink5|}}}
                    |[[{{{Authorlink5}}} |{{{Surname5}}}{{
                        #if: {{{Given5|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
                      }}]]
                    |{{{Surname5}}}{{
                        #if: {{{Given5|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
                      }}
                  }}{{
                    #if:{{{Surname6|}}}
                    |{{#ifexpr:{{{Trunc|8}}}<6
                    |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                      |{{
                        #if: {{{Surname7|}}}
                        |{{{AuthorSep|&#059;&#32;}}}
                        |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                      }}{{
                        #if: {{{Authorlink6|}}}
                        |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                          #if: {{{Given6|}}}
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
                        }}]]
                        |{{{Surname6}}}{{
                          #if: {{{Given6|}}}
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
                        }}
                      }}{{
                        #if:{{{Surname7|}}}
                        |{{#ifexpr:{{{Trunc|8}}}<7
                          |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                        |{{
                          #if: {{{Surname8|}}}
                          |{{{AuthorSep|&#059;&#32;}}}
                          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                        }}{{
                          #if: {{{Authorlink7|}}}
                          |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                              #if: {{{Given7|}}}
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
                            }}]]
                          |{{{Surname7}}}{{
                              #if: {{{Given7|}}}
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
                            }}
                                    }}{{
                                      #if:{{{Surname8|}}}
                                      |{{#ifexpr:{{{Trunc|8}}}<8
                                          |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
                                          |{{
                                              #if: {{{Surname9|}}}
                                              |{{{AuthorSep|&#059;&#32;}}}
                                              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                                            }}{{
                                              #if: {{{Authorlink8|}}}
                                              |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                                                #if: {{{Given8|}}}
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
                                              }}]]
                                              |{{{Surname8}}}{{
                                                #if: {{{Given8|}}}
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
                                              }}
                                            }}{{
                                              #if:{{{Surname9|}}}
                                              |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
                                            }}
                                        }}
                                      }}
                                  }}
                                }}
                            }}
                          }}
                      }}
                    }}
                  }}
              }}
            }}
        }}
      }}
  }}{{
    #if: {{{Coauthors|}}}
    |{{{AuthorSep|&#059;&#32;}}}{{{Coauthors|}}}|
  }}
  |{{<!-- ============== No author: display editors first == -->
    #if: {{{EditorSurname1|}}}
    |{{
        #if: {{{Editorlink1|}}}
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}]]
        |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}
      }}{{
        #if: {{{EditorSurname2|}}}
        |{{
          #if: {{{EditorSurname3|}}}
          |{{{AuthorSep|&#059;&#32;}}}
          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
        }}{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}]]
          |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}
        }}{{
          #if: {{{EditorSurname3|}}}
          |{{
              #if: {{{EditorSurname4|}}}
              |{{{AuthorSep|&#059;&#32;}}}
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
            }}{{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}]]
              |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
            }}
        }}
      }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}{{
        #if: {{{Date|}}}
        |&#32;({{{Date}}}){{
        #if:{{{YearNote|}}}
      |&#32;[{{{YearNote}}}]
      }}
      }}
  }}
}}{{
}}{{
<!--============  Title of included work  ============-->
<!--============  Title of included work  ============-->
Line 609: Line 379:
     }}
     }}
   }}
   }}
}}{{
<!--============  Author or editor and date  ============-->
  #if:{{{Surname1|}}}
  |{{
    #if: {{{AuthorMask|}}}
    |{{
        #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
        |{{{AuthorMask}}}
        |{{loop|{{{AuthorMask}}}|2=&mdash;}}
      }}
    |{{
        #if: {{{Authorlink1|}}}
        |[[{{{Authorlink1}}} |{{{Surname1}}}{{
          #if: {{{Given1|}}}
          |{{{NameSep|,&#32;}}}{{{Given1}}}
        }}]]
        |{{{Surname1}}}{{
          #if: {{{Given1|}}}
          |{{{NameSep|,&#32;}}}{{{Given1}}}
        }}
      }}
  }}{{
    #if: {{{Surname2|}}}
    |{{#ifexpr:{{{Trunc|8}}}<2
      |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
      |{{
          #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
          |&#32;<!-- then punctuation should be included in AuthorMask -->
          |{{
            #if: {{{Surname3|}}}
            |{{{AuthorSep|&#059;&#32;}}}
            |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
          }}
        }}{{
          #if: {{{Authorlink2|}}}
          |[[{{{Authorlink2}}} |{{{Surname2}}}{{
            #if: {{{Given2|}}}
            |{{{NameSep|,&#32;}}}{{{Given2}}}
          }}]]
          |{{{Surname2}}}{{
            #if: {{{Given2|}}}
            |{{{NameSep|,&#32;}}}{{{Given2}}}
          }}
        }}{{
          #if: {{{Surname3|}}}
          |{{#ifexpr:{{{Trunc|8}}}<3
            |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
            |{{
              #if: {{{Surname4|}}}
              |{{{AuthorSep|&#059;&#32;}}}
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
            }}{{
              #if: {{{Authorlink3|}}}
              |[[{{{Authorlink3}}} |{{{Surname3}}}{{
                  #if: {{{Given3|}}}
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
                }}]]
              |{{{Surname3}}}{{
                  #if: {{{Given3|}}}
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
                }}
            }}{{
              #if:{{{Surname4|}}}
              |{{#ifexpr:{{{Trunc|8}}}<4
                |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                |{{
                    #if: {{{Surname5|}}}
                    |{{{AuthorSep|&#059;&#32;}}}
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                  }}{{
                    #if: {{{Authorlink4|}}}
                    |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                      #if: {{{Given4|}}}
                      |{{{NameSep|,&#32;}}}{{{Given4}}}
                    }}]]
                    |{{{Surname4}}}{{
                      #if: {{{Given4|}}}
                      |{{{NameSep|,&#32;}}}{{{Given4}}}
                    }}
                  }}{{
                  #if:{{{Surname5|}}}
                  |{{#ifexpr:{{{Trunc|8}}}<5
                    |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                    |{{
                    #if: {{{Surname6|}}}
                    |{{{AuthorSep|&#059;&#32;}}}
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                    }}{{
                    #if: {{{Authorlink5|}}}
                    |[[{{{Authorlink5}}} |{{{Surname5}}}{{
                        #if: {{{Given5|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
                      }}]]
                    |{{{Surname5}}}{{
                        #if: {{{Given5|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
                      }}
                  }}{{
                    #if:{{{Surname6|}}}
                    |{{#ifexpr:{{{Trunc|8}}}<6
                    |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                      |{{
                        #if: {{{Surname7|}}}
                        |{{{AuthorSep|&#059;&#32;}}}
                        |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                      }}{{
                        #if: {{{Authorlink6|}}}
                        |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                          #if: {{{Given6|}}}
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
                        }}]]
                        |{{{Surname6}}}{{
                          #if: {{{Given6|}}}
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
                        }}
                      }}{{
                        #if:{{{Surname7|}}}
                        |{{#ifexpr:{{{Trunc|8}}}<7
                          |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                        |{{
                          #if: {{{Surname8|}}}
                          |{{{AuthorSep|&#059;&#32;}}}
                          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                        }}{{
                          #if: {{{Authorlink7|}}}
                          |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                              #if: {{{Given7|}}}
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
                            }}]]
                          |{{{Surname7}}}{{
                              #if: {{{Given7|}}}
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
                            }}
                                    }}{{
                                      #if:{{{Surname8|}}}
                                      |{{#ifexpr:{{{Trunc|8}}}<8
                                          |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
                                          |{{
                                              #if: {{{Surname9|}}}
                                              |{{{AuthorSep|&#059;&#32;}}}
                                              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
                                            }}{{
                                              #if: {{{Authorlink8|}}}
                                              |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                                                #if: {{{Given8|}}}
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
                                              }}]]
                                              |{{{Surname8}}}{{
                                                #if: {{{Given8|}}}
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
                                              }}
                                            }}{{
                                              #if:{{{Surname9|}}}
                                              |&#32;et al{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}
                                            }}
                                        }}
                                      }}
                                  }}
                                }}
                            }}
                          }}
                      }}
                    }}
                  }}
              }}
            }}
        }}
      }}
  }}{{
    #if: {{{Coauthors|}}}
    |{{{AuthorSep|&#059;&#32;}}}{{{Coauthors|}}}|
  }}
  |{{<!-- ============== No author: display editors first == -->
    #if: {{{EditorSurname1|}}}
    |{{
        #if: {{{Editorlink1|}}}
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}]]
        |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}
      }}{{
        #if: {{{EditorSurname2|}}}
        |{{
          #if: {{{EditorSurname3|}}}
          |{{{AuthorSep|&#059;&#32;}}}
          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
        }}{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}]]
          |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}
        }}{{
          #if: {{{EditorSurname3|}}}
          |{{
              #if: {{{EditorSurname4|}}}
              |{{{AuthorSep|&#059;&#32;}}}
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
            }}{{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}]]
              |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
            }}
        }}
      }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|,|{{#if:{{{Date|}}}|,}}|,}}{{
        #if: {{{Date|}}}
        |&#32;({{{Date}}}){{
        #if:{{{YearNote|}}}
      |&#32;[{{{YearNote}}}]
      }}
      }}
  }}
}}{{
}}{{
<!--============ URL and AccessDate ============-->
<!--============ URL and AccessDate ============-->

Revision as of 16:23, 9 June 2013

 

[create] Template-info.png Template documentation